TextInput default = object?
Hi, I want to set a default value in my Input.
Example:
But the input value is [object Object]
8 Replies
Thank you. But now the input is empty.
are you using the panel builder or form builder?
I use the panel builder with getSteps
default
will work on the CreatePageOnly create, not on EditRecord?
yes
https://filamentphp.com/docs/3.x/forms/fields/getting-started#setting-a-default-value
EditPage should fill the field using the Model
Hm.. then I'll probably have to create my own component π Thanks for your help!