How to prefill a TextInput on the create resource form?
So when I want to create a new user for example, I automatically want a TextInput to be filled with a certain value. And this should be visible to the users and not editable.
I got everything, except for the part on how to fill that input text field.
Anyone?
4 Replies
Figured it out:
->default(Str::random(64))
?@Leandro Ferreira Problem was that I only needed to fill on the create page.
LOL... you're right 🤦♂️ that should also work
this only works on Create Pages