you can use Relation::class to build a select input like this
Relation::make('name');
this class works with vue ViltRelation.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)
->relation(string)
->multi(true)
->model(Model::class)
Custom Query
to custom the query when you call the API you can use this method