dynamite
Error with 'multiple' Attribute in Select Input Field
Oke , but not work
Select::make('department_ids')
->multiple()
->preload()
->required()
->options( Department::all()->pluck("name", "id"))
])->columns(2),
public function departments() {
return $this->belongsToMany (Department::class);
}
14 replies