Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor "config" to be an actual config #2373

Open
sdirix opened this issue Sep 11, 2024 · 0 comments
Open

Refactor "config" to be an actual config #2373

sdirix opened this issue Sep 11, 2024 · 0 comments
Milestone

Comments

@sdirix
Copy link
Member

sdirix commented Sep 11, 2024

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 sdirix added this to the 4.0 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant