F
Filament15mo ago
Emaz

hidden fields V3

Are hidden fields supposed to save with the Model on form builder create? I'm finding that TextInput::make('description')->hidden(), will not save unless I removed the hidden method.
Solution:
There is also a Hidden field. They are two different things. ->hidden() will remove a field from the form so it will not persist to data. The Hidden field is an actual hidden html input. Just be careful with what data you put in the field as it could be manipulated by users in the front end.
Jump to solution
2 Replies
Solution
awcodes
awcodes15mo ago
There is also a Hidden field. They are two different things. ->hidden() will remove a field from the form so it will not persist to data. The Hidden field is an actual hidden html input. Just be careful with what data you put in the field as it could be manipulated by users in the front end.
Want results from more Discord servers?
Add your server