Replies: 1 comment
-
|
The fact is that the foreign key is missing in HasMany, so your approach won't work. You can use alpinejs(xData) and implement it through xif or xshow, or through reactivity. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I need to add custom properties to my products. To do this, i created a new CusotmProperties resource where i can create my properties (Text,Number,Select with options)
I then wanted to create the Pivot resource and add a HasMany on my Product resource :
This opens up my modal where i can select my CustomProperty (product already set).
However, i need to show the Field type that belongs to my CustomProperty when set.
I was thinking something like this, but doesn't seem to do the trick :
How can i achieve this? Do i have to use reactive() maybe ?
Thanks for all the help 😄
Beta Was this translation helpful? Give feedback.
All reactions