F
Filament2mo ago
Bruno

I need with Select Edit/View

I have a select where I define the user's role, according to the user's role a type of input appears to fill in, the creation is ok, it saves in the bank, but when editing and viewing the user this dynamic input does not appear, oh no unless I select my role again. In the Select field I am using ->live(). In dynamic fields I am using ->visible() how do I do this?
1 Reply
awcodes
awcodes2mo ago
You could apply a second check in the visible callback to see if the record has the correct attribute value.
Want results from more Discord servers?
Add your server