F
Filament7mo 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
Azorky7mo ago
Without mount():
No description
Azorky
Azorky7mo ago
With moun():
No description
Solution
Azorky
Azorky7mo ago
Apparantly you need to add: $this->form->fill(); for the default values to be filled in.
No description