Visible condition by relationship
I have this FieldSet
but
cost_price_link_in_published
doesn't not make visible when i click on link_in_published
. What i am doing wrong?7 Replies
any one knows how to do this? I try a lot of things without results
I have similar problem before but I cannot remember the fix.
it has something to do with this piece of your code
I think i used something else other than $get and it definitely not Get type
thanks, but if i dd $get its an Filament\Forms\Get component. I think that it for relationship
because if i dd $get('cost_price_link_in_published') it returns fine the value but $get('link_in_published') always returns null
Try navigating the state. $get(‘../options/link_in_published’) something like that. The relationships add state paths
Don’t remember if nested values use a dot or a /
thanks awcodes. I try with / and dot but it doesn't works
i found it!. Solution its like this
that's what i was referring to with the dot. 🙂
thank u so much!!!