How to add a form field only in CREATE and NOT in EDIT?

f.e. for a user.
1 Reply
Falk Maria Zeitsprung
got it!!
Radio::make('send_email_new_user')
->visible(function ($context) {
return $context === 'create';
})
Radio::make('send_email_new_user')
->visible(function ($context) {
return $context === 'create';
})
Want results from more Discord servers?
Add your server