Enclose Textinput in form

Hey, how can I enclose an input to look like this
{
"form-1": {
"name": "Test"
}
}
{
"form-1": {
"name": "Test"
}
}
Default
{
"name": "Test"
}
{
"name": "Test"
}
2 Replies
toeknee
toeknee17mo ago
->statePath('form-1')
Patrick Boivin
Patrick Boivin17mo ago
May need a group also, not sure...
Group::make([
TextInput::make('name'),
])
->statePath('form-1')
Group::make([
TextInput::make('name'),
])
->statePath('form-1')

Did you find this page helpful?