simple subfields
- Dominant language
- Python
- Stars
- 102
- Forks
- 182
- PR merge metrics
- No merged PRs in 30d
Description
it seems to me there is support for repeating subfields but not subfields that are not repeating. I find it very convenient to organize the schema to support subfields.
example:
```
{
"field_name": "vertical-extent",
"label": "Vertical Extent",
"simple_subfields": [{
"field_name": "min",
"label": "Min",
"form_attrs":{"pattern":"[0-9.]+"}
},
{
"field_name": "max",
"label": "Max",
"form_attrs":{"pattern":"[0-9.]+"}
}
]
}
```
While this could be done with two fields it is more obvious to users that the min and max values are related when grouped as subfields.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing implementation and schema examples for repeating subfields, since no files or tests are named in the issue. Add support for non-repeating simple_subfields such as the shown min/max grouping, including their form attributes, and verify that related values remain grouped and usable in the schema.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100