Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Johny22's avatar

Communication between fields

I have a custom field and I would need to get a value from another field into it reactively.

that is, I have a select field and a custom text field, and when I change the selected value, the value in the text field should change. Is it possible for two fields to be reactive to each other?

0 likes
2 replies
Johny22's avatar

@jaseofspades88

public function fields(Request $request)
    {

		ParamSelect::make('Params')
                ->options([
                    'type1' => [
                        'value1.1',
                        'value2.1',
                        'value3.1',
                    ]
                ])
                ->hideFromIndex(),

         Url::make('Url'),

   }

When I select a value in the ParamSelect field, I need this event to be captured in the Url field. It's Nova. Laravel Nova :)

Url is custom field...

Please or to participate in this conversation.