A form field with a number of options of which only one option can be selected.
The options can be given in the form of a array (either simple or associative) or as an eloquent relationship (one to many).
A default value can be given and with relationships, the values can be customised with a mutator and they can be ordered on a column name.
Plugin used: Bootstrap Select
- Options either from an one eloquent relationship or given as an array.
- A default option can be given.
- The labels of the relationship options can be customised with a mutator.
- The options can be ordered on a column name.
- A search input text field will appear if there are more the 6 options.