Select

you can use Select::class to build a select input like this

Select::make('name');

this class works with 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)

Last updated