mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Start on field setup modal * Add field-setup first pane * Add interface options support * Use updated button to add field * Add interface and display selection and options * Add advanced options form * Use field name in settings * Hide titles when editing existing field * Add disabled handler for next / previous * ... * Show error on failed saves * Rename name to field * Fix arrow inline styles * Fix show-arrow * Rework tab logic to use named tabs (makes dynamic relationship tab work) * Make it pass tests
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.