->form([
Select::make('rating_id')
->prefix('Your choise')
->hiddenLabel()
->options($this->array_opts)
->required()
->reactive()
->afterStateUpdated(function (?string $state, ?string $old) {
$this->dispatch('my_event', rating_id: $state);
}),
Livewire::make(MyComponent::class, ['article_uuid' => $this->article_uuid, 'rating_id' => $this- >rating_id]),
])
->form([
Select::make('rating_id')
->prefix('Your choise')
->hiddenLabel()
->options($this->array_opts)
->required()
->reactive()
->afterStateUpdated(function (?string $state, ?string $old) {
$this->dispatch('my_event', rating_id: $state);
}),
Livewire::make(MyComponent::class, ['article_uuid' => $this->article_uuid, 'rating_id' => $this- >rating_id]),
])