I try using multiselect when creating record but I get error Array to String. But when I update record everything is ok.
Panel::make('Material', [
MultiSelect::make('Select materials', 'material_id')
->options(Material::orderBy('name', 'ASC')->get()->pluck('name', 'id'))
->hideFromIndex(),
]),
I need hide this filed when creating record to use him on update.
Thanks.