eclipsesource / eclipsesource/jsonforms
Customize Material-UI input components with props
- 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.**
I'd like to show a text input with `variant: 'outlined'`. Would this be possible to change with options/props passed to the Control of uischema?
**Describe the solution you'd like**
Would something like this be possible?
```{
type: "VerticalLayout",
elements: [
{
type: "Control",
scope: "#/properties/trackingId",
options: {
variant: "outlined"
}
},
{
type: "Control",
scope: "#/properties/extraGaVarsTrack"
}
]
}
```
**Describe alternatives you've considered**
I'm guessing an alternative would be to create custom MUI renderers from scratch as you demonstrate to the DOCS. But wouldn't that be a little overkill, if we just want to change a simple prop to a MUI input?
**Describe for which setup you like to have the improvement**
Framework: [react]
RendererSet: [material]
Contributor guide
Assessment
This issue has not been assessed yet.