eclipsesource / eclipsesource/jsonforms
Add placeholder support for React Vanilla
- 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.
It would be great when placeholders could be defined via the ui schema and set in the respective inputs
### Describe the solution you'd like
Allow for the optional attribute placeholder, e.g.
``` javascript
{
"type": "Control",
"scope": "#",
"options": {
"placeholder": "This is a placeholder"
}
}
```
### Describe alternatives you've considered
We could also think about checking for a placeholder attribute in the JSON Schema
### Framework
React
### RendererSet
Vanilla
### Additional context
At least for Vue-Vanilla. When adding the possibility of defining a placeholder to the JSON Schema, then we could think about adding this to the JSON Forms core so any renderer set benefits from that.
This issue is a copy of this Vue issue
https://github.com/eclipsesource/jsonforms/issues/1729
I guess the implementation would similar.
Contributor guide
Assessment
This issue has not been assessed yet.