I have a form with:
public function form(Form $form): Form
{
return $form
->schema([
TextInput::make('title')->live(),
TextInput::make('slug')->live(),
RichEditor::make('content')->live(),
Livewire::make(MyDynamicComponent::class, ['bar' => 'baz']);
]);
}
but MyDynamicComponent need access to the form state as it need to render infos based on the latest form fields (preview).
the Livewire::getData() is only called one time during initialization and updated values are not passed to the component