Forms\Components\TextInput::make('test1')
->live()
->afterStateUpdated(function (Forms\Get $get, Forms\Set $set) {
$set('test2', [
'txt' => $get('test1'),
]);
}),
Forms\Components\KeyValue::make('test2')
->default(['txt' => '']),
Forms\Components\TextInput::make('test1')
->live()
->afterStateUpdated(function (Forms\Get $get, Forms\Set $set) {
$set('test2', [
'txt' => $get('test1'),
]);
}),
Forms\Components\KeyValue::make('test2')
->default(['txt' => '']),