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
toeknee15mo ago
->statePath('form-1')
Patrick Boivin
Patrick Boivin15mo ago
May need a group also, not sure...
Group::make([
TextInput::make('name'),
])
->statePath('form-1')
Group::make([
TextInput::make('name'),
])
->statePath('form-1')
Want results from more Discord servers?
Add your server