Last updated 2 years ago
you can use Select::class to build a select input like this
Select::class
Select::make('name');
this class works with vue ViltSelect.vue
ViltSelect.vue
it has some more methods for setting options
->options(array) //you can use Options::class to add new options or array ["name"=>"", "id"=>""] ->trackByName(string) ->trackById(string) ->multi(bool)