Role in hidden/visible

- I have a Select, that after you text and select, the other two inputs are autocompleted with the correct information - The two textinputs are 'name' and 'age', that are autocompleted, but only 'gender' is a role - Depending on the 'gender' information, it will show one new textinput called weight feminine or weight masculine with hidden/visible - I'm having a problem 'cause, even using hidden/visible, ->reactive() and ->live(), it's not showing the new textinput acording with 'gender' , - In other pages, like edit, the same text input ('gender') is returning null
No description
2 Replies
Lara Zeus
Lara Zeus2mo ago
what the component of model_has_roles? looks like? and what if you dd($get('model_has_roles')) in the visable method
raissa_black
raissa_black2mo ago
i did it, and it returned null, but with the select, it gets 'name', 'age' and 'gender', so theoretically it is not null, right?
Want results from more Discord servers?
Add your server