How to use callable $get in createOptionForm()
I want to call a reactive component outside the createOptionForm() component, but it shows null. Help please
->default(fn ($livewire) => dd($livewire->data['product_id']))->default(fn ($livewire) => dd($livewire->data['product_id']))Select::make('product_id')
->reactive(),
Select::make('category_id')
->relationship('category', 'name')
->createOptionForm([
TextInput::make('name'),
Hidden::make('id')
->default(fn (callable $get) => dd($get('product_id')))
])