Multiple select component data is returning null on a livewire form component

I have a livewire component with an integration with Form Builder, with this code: public ?array $data = []; public function form(Form $form): Form { return $form ->statePath('data') ->schema([ Wizard::make() ->steps($this->render_tabs()) ]); } when i doing dd($this->form->getState()) is resulting fine with a Select component that just accept one choice, but when i'm using ->multiple() function, somehow it resulting null and resulting on livewire error: livewire.js?id=5d8beb2e:3808 Livewire Entangle Error: Livewire property ['data.2'] cannot be found on component: how to fix this? thanks!
No description
1 Reply
nurrehmet
nurrehmet3mo ago
Fixed solutions: I was wrong by submitting the form data using $this->data , it should be accessed via $this->form->getState() so the form data is validated