jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

Refactor "config" to be an actual config

Open sdirix opened this issue 1 year ago • 0 comments

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

At the moment config is used as the default of all Ui Schema element options. However there are valid use cases where it should just serve as a configuration.

Describe the solution you'd like

Refactor the current usage of config to be defaultOptions within config

Describe alternatives you've considered

  • Do not create defaultOptions but keep the config as is. In that case irrelevant form-wide options are merged into each renderer's options
  • Introduce a new alternative prop

Package

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

Additional context

No response

sdirix avatar Sep 11 '24 09:09 sdirix