Je veux selectionner tout les element dans lautre Table cra jai faire une relation manyToMany
Select::make('option_id')
->multiple()
->label('Options')
->options(Option::all()->pluck('name', 'id'))
->searchable(),
Ce que je veux
Ce que j'obtiens
Illuminate
\
Database
\
QueryException
PHP 8.1.10
10.35.0
Array to string conversion
INSERT INTO "properties" ("title", "description", "surface", "rooms", "bedrooms", "floor", "price", "city", "address", "option_id", "postal_code", "sold", "updated_a