eclipsesource / eclipsesource/jsonforms
Inputs should have `name` attributes
- 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.
The `name` attribute is essential for server first websites that leverage traditional form submission workflows. Consider the following React component and scheme:
```jsx
function BasicForm (props){
return
}
```
```json
{
"title": "Person",
"required": ["name", "surname", "birthday"],
"type": "object",
"properties": {
"name": { "title": "Name", "type": "string" },
"surname": { "title": "Surname", "type": "string" },
"birthday": { "title": "Birthday", "type": "string", "format": "date" }
}
}
```
This renders successfully but `name` attributes are nowhere to be seen
```html
Name*
Surname*
Birthday*
```
Without `name` attributes, submitting the form sends nothing.
### Describe the solution you'd like
Include `name` attributes on each input field.
### Describe alternatives you've considered
- Writing my own forms, which is exactly what I don't want to do.
- Manually handling forms on client side, which is a waste of client resources and time.
### Framework
Core
### RendererSet
Vanilla
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.