Fixed issue with field's required property during form filed initialization

This commit is contained in:
Giuseppe Digilio
2020-03-02 13:06:47 +01:00
parent b2f0e9f620
commit df8ef2b5c3

View File

@@ -49,7 +49,7 @@ export abstract class FieldParser {
label: this.configData.label,
initialCount: this.getInitArrayIndex(),
notRepeatable: !this.configData.repeatable,
required: isNotEmpty(this.configData.mandatory),
required: JSON.parse( this.configData.mandatory),
groupFactory: () => {
let model;
if ((arrayCounter === 0)) {