eclipsesource / eclipsesource/jsonforms

Customize Material-UI input components with props

Open
#1,710 1 comment 3 reactions 0 assignees View on GitHub
enhancement material react
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

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.