Skip to content

Commit

Permalink
Fix additional properties only validation regression
Browse files Browse the repository at this point in the history
  • Loading branch information
AjBreidenbach authored and aszs committed Dec 19, 2023
1 parent 9254d42 commit e3db750
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ export default {
let formField
try { formField = this.form.fields[key] }
catch(e) {}
if (formField) {
// objects that are only parents of $additionalProperties have no data and can be skipped for validation
if (formField && formField.data) {
path = [...this.propertyPath, key].join('.')
const {data, value} = formField
Expand Down

0 comments on commit e3db750

Please sign in to comment.