@evoke-platform/ui-components 1.5.0-testing.17 → 1.5.0-testing.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -462,6 +462,6 @@ export class FormFieldComponent extends ReactComponent {
462
462
  falsePositiveMaskError &&
463
463
  isEmpty(this.errorDetails) &&
464
464
  this.emit('changed-' + this.component.key, e.target.value);
465
- }, ...this.component, id: inputId, defaultValue: this.dataValue, mask: this.component.inputMask, error: this.hasErrors(), size: this.component.fieldHeight ?? 'medium', required: this.component.validate?.required }))), root);
465
+ }, ...this.component, id: inputId, defaultValue: this.dataValue, mask: this.component.inputMask, error: this.hasErrors(), size: this.component.fieldHeight ?? 'medium', required: this.component.property.type === 'boolean' ? this.component.validate?.required : undefined }))), root);
466
466
  }
467
467
  }
@@ -20,7 +20,7 @@ const FormField = (props) => {
20
20
  readOnly,
21
21
  defaultValue,
22
22
  selectOptions,
23
- required,
23
+ required: required,
24
24
  size,
25
25
  placeholder,
26
26
  min,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.5.0-testing.17",
3
+ "version": "1.5.0-testing.18",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",