F
Filamentβ€’2y ago
Anom_Dkk

Searchable Not Working

i want to add searchable to my select field, and i have some error like on Type Group
7 Replies
Dan Harrin
Dan Harrinβ€’2y ago
any code or do we have to imagine it? πŸ˜…
Anom_Dkk
Anom_DkkOPβ€’2y ago
sorry i forget to put it Select::make("group_id") ->label("Type Group") ->required() ->options(Group::all()->pluck("name", "id")) ->searchable() this my code
Dan Harrin
Dan Harrinβ€’2y ago
using an admin panel resource or a custom form?
Anom_Dkk
Anom_DkkOPβ€’2y ago
i just using form builder
Dan Harrin
Dan Harrinβ€’2y ago
have you imported FormsAlpinePlugin in your js
Anom_Dkk
Anom_DkkOPβ€’2y ago
and now if i imported that my select form like this
Anom_Dkk
Anom_DkkOPβ€’2y ago
oke this my bad. and now is working fine. thank you so much
Want results from more Discord servers?
Add your server