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:Jump to 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.
2 Replies
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.
take a look at this discussion
https://discord.com/channels/883083792112300104/1145318929632350351/1145345458991005736