eclipsesource / jsonforms

Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
http://jsonforms.io
Other
2.22k stars 373 forks source link

Move `detail` of layout elements into the root element #2374

Open sdirix opened 2 months ago

sdirix commented 2 months ago

Is your feature request related to a problem? Please describe.

detail is part of the options, however it usually does not make sense to have a default option for a detail. It's therefore rather misplaced.

Describe the solution you'd like

Move detail from layout / array controls into the element itself instead of within the options. This can be checked in a backward compatible manner.

Describe alternatives you've considered

Do not change it as it does not block any actual use case.

Package

Core, React Material Renderers, React Vanilla Renderers, Angular Material Renderers, Vue Vanilla Renderers, Vue Vuetify Renderers

Additional context

No response