We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c4d122 + 0504029 commit ba4f9edCopy full SHA for ba4f9ed
src/js/brutusin-json-forms.js
@@ -253,9 +253,15 @@ if (typeof brutusin === "undefined") {
253
if (parentSchema && parentSchema.type === "object") {
254
if (parentSchema.required) {
255
return BrutusinForms.messages["required"];
256
+ } else if (parentSchema.requiredProperties) {
257
+ for (var i = 0; i < parentSchema.requiredProperties.length; i++) {
258
+ if (parentSchema.requiredProperties[i] === s.$id.substring(2)) {
259
+ return BrutusinForms.messages["required"];
260
+ }
261
262
} else {
263
for (var prop in parentObject) {
- if (parentObject[prop] !== null) {
264
+ if (parentObject[prop] === null) {
265
266
}
267
0 commit comments