...
If the field itself is complex - e.g an Enum or Array then consider creating a small child component to render the field on its own. For example we use OrgCategory component to render the org.category as an Icon rather than a text string. Note also that Enum String values should not be displayed directly but passed through a child component that can render the value of each enum item as a translated string. e.g PersonRole.js
Updating the Entity Form
As this is a bit more complex it gets its own page.see Part 2. Adding a new field to a Form
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...