Files
directus/src/displays
Rijk van Zanten 5a745b0c4d Interface grouping (#717)
* Manage types

* Fix typing

* Unset interface on local type change

* Add note

* Limit available displays based on localType

* Filter displays based on localtype

* Only show displays that fit the type

* Limit type options for interface selection

* Dont import unused type
2020-06-12 16:51:12 -04:00
..
2020-06-04 15:02:09 -04:00
2020-05-22 18:19:33 -04:00
2020-04-24 18:48:05 -04:00
2020-06-04 18:28:12 -04:00
2020-06-12 16:51:12 -04:00
2020-05-15 18:44:21 -04:00
2020-05-04 12:31:11 -04:00
2020-06-12 16:51:12 -04:00
2020-03-25 16:55:01 -04:00
2020-06-04 18:28:12 -04:00
2020-03-25 16:55:01 -04:00
2020-03-25 16:55:01 -04:00
2020-06-12 16:51:12 -04:00

Displays

Displays are functions / components that are used in the system to display data. They are small wrappers that help display values in a matter that makes sense for the saved value, for example rendering a color swatch for a saved color value.

Functions vs Components

A Display can either be a function, or a component. The function gets the value, and returns a string of how to display this value. A Vue component similarly gets the value through the value prop, and can render whatever makes sense for the value.