eclipsesource / eclipsesource/jsonforms

Refactor "config" to be an actual config

Open
#2,373 0 comments 0 reactions 0 assignees View on GitHub
effort/low
Dominant language
TypeScript
Stars
2.7k
Forks
424
Avg merge
17d 8h
Merged PRs (30d)
1

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.