Update text input dynamic based off other important
I have this form schema
I would like to update the url text input, based off the other input like crafting a url,
Toggle::make('includeTable')
->label('Include table')
->default(true)
->reactive()
->live(),
Toggle::make('includeChart')
->label('Include chart')
->default(false)
->reactive()
->live(),
Select::make('animation')
->label('Animation')
->options([
'none' => 'None',
'confetti' => 'Confetti',
'Fireworks' => 'Fireworks',
])
->default('none')
->reactive()
->live()
->columnSpanFull(),
TextInput::make('url')
->label('URL')
->readOnly() Toggle::make('includeTable')
->label('Include table')
->default(true)
->reactive()
->live(),
Toggle::make('includeChart')
->label('Include chart')
->default(false)
->reactive()
->live(),
Select::make('animation')
->label('Animation')
->options([
'none' => 'None',
'confetti' => 'Confetti',
'Fireworks' => 'Fireworks',
])
->default('none')
->reactive()
->live()
->columnSpanFull(),
TextInput::make('url')
->label('URL')
->readOnly()I would like to update the url text input, based off the other input like crafting a url,
localhost:8000/embed?animation=fireworkslocalhost:8000/embed?animation=fireworks