How can I hide a field on the edit form?

I have a field whos value I use to auto generate another model type when the create model is saved. I only want the user to be able to enter a value on creation. How can I hide that specific field on only the edit form?
Solution:
->hiddenOn(‘edit’)
Jump to solution
2 Replies
Solution
awcodes
awcodes8mo ago
->hiddenOn(‘edit’)
jphelan
jphelan8mo ago
Perfect, thanks!