F
Filament13mo ago
Azorky

Default values not working with mount()

I have a CreatePage for my resource, but as soon as I add the mount() function, my default values for my TextInputs are not working anymore.
Solution:
Apparantly you need to add: $this->form->fill(); for the default values to be filled in.
No description
Jump to solution
3 Replies
Azorky
AzorkyOP13mo ago
Without mount():
No description
Azorky
AzorkyOP13mo ago
With moun():
No description
Solution
Azorky
Azorky13mo ago
Apparantly you need to add: $this->form->fill(); for the default values to be filled in.
No description
Want results from more Discord servers?
Add your server