PepperFM
Unit tests: fill multiselect manually
Hi everyone!
I am trying to test the saving of a many-to-many relationship using multiple selection (common case: the user belongs to many categories), but I cannot figure out what data format this component accepts (key-value or something else)
I have tried various combinations and matching of the collection of input categories, but there is no data in the form (i dumped state via
$this->form->getState()
also in \Filament\Pages\Auth\EditProfile::save()
)
Ps: I don't have experience in Livewire2 replies