josdejong / josdejong/jsoneditor
disable array items type autodetection if validation specify single allowed type
Open
- Dominant language
- JavaScript
- Stars
- 12.3k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
if array items schema validation allows only single type we shouldn't autodetect type. yes, it will show warnings but you have to for every row re-select type in order to fix.
my case is array of strings but it contains numbers with leading zero '0' or other number... after our last fix now it correctly detect type for numbers starting from 0, but all others detected as numbers and show warnings...
@josdejong what do you think?
Contributor guide
Assessment
This issue has not been assessed yet.