πŸ’ŸHasOne

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

HasOne::make('name');

this class works with vue ViltHasOne.vue

it has some more methods for setting options

Use Quick CRUD

you can use

to make a simple CRUD with a button after the input and when you add a new one it will be appended to the select input.

Custom Query

to custom the query when you call the API you can use this method

Last updated