Files
directus/docs/reference/app/components/v-field-select.md
Nitwel c2e7c85bbd Update documentation of app (#4222)
* move component docs to documentation

* update app docs tables for components

* update docs

* Add components to docs sidebar

* fix generated tables

* fix tables

* rename transitions

* update tables

* update nested components

* update tables

* update tables

* update tables

* update v-table table

* add basic documentation to each component

* remove all stories of storybook

* add missing documentation

* undate tables

* update tables

* update docs sidebar

* update app docs

* remove unused references

* add general readme

* update docs

* make reference titiles smaller

* add reference tag

* improve docs

* update order of tabs in sidebar

* remove all readmes and stories from interfaces/displays

* Cleanup menu

* Remove storybook

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-24 17:48:19 -05:00

1.1 KiB

Field Select

Allows for easy selection of field inside a collection. Also works with relations inside a collection.

<v-field-select collection="articles" v-model="selection" />

Reference

Props

Prop Description Default Type
collection* From where the fields should be selected String
disabled Disables this component false Boolean
value Can be used to model the selected field null string[]
depth If greater than 0, it also considers relations of fields 1 Number
inject Inject you own fields, collections or relations () => ({}) Object

Events

Event Description Value
input The changed selection string[]