File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8
8
.env
9
9
/src /themes /* .css.js
10
10
/src /editors /* .css.js
11
+ /.vs
Original file line number Diff line number Diff line change 12
12
- Cleaned how default themes, iconlibs, editors and templates are imported to JSONEditor
13
13
- Added ability to attache editors and themes style rules to the shadowRoot if the editor is inside a Web Component.
14
14
- Fix of #701 - editors/number.js and editors/integer.js don't change values when validation is failed
15
+ - Fix of #716 - add ignore for allOf to fall in line with existing ignores of anyOf/oneOf for additionalProperties validation
15
16
16
17
### 2.0.0-dev
17
18
- Fix of #643 - Allow use of themes not compiled directly into the build
Original file line number Diff line number Diff line change @@ -575,8 +575,8 @@ export class Validator {
575
575
}
576
576
} )
577
577
578
- /* The no_additional_properties option currently doesn't work with extended schemas that use oneOf or anyOf */
579
- if ( typeof schema . additionalProperties === 'undefined' && this . jsoneditor . options . no_additional_properties && ! schema . oneOf && ! schema . anyOf ) {
578
+ /* The no_additional_properties option currently doesn't work with extended schemas that use oneOf or anyOf or allOf */
579
+ if ( typeof schema . additionalProperties === 'undefined' && this . jsoneditor . options . no_additional_properties && ! schema . oneOf && ! schema . anyOf && ! schema . allOf ) {
580
580
schema . additionalProperties = false
581
581
}
582
582
You can’t perform that action at this time.
0 commit comments