Browse Source

Number/Radio with Default Value always invalid

pull/195/head
Derek Begnoche 8 years ago
parent
commit
9541743847
  1. 2
      src/Squidex/app/shared/services/schemas.service.ts

2
src/Squidex/app/shared/services/schemas.service.ts

@ -426,7 +426,7 @@ export class NumberFieldPropertiesDto extends FieldPropertiesDto {
}
if (this.allowedValues && this.allowedValues.length > 0) {
validators.push(ValidatorsEx.validValues(this.allowedValues));
validators.push(ValidatorsEx.validValues(this.allowedValues.map(String)));
}
return validators;

Loading…
Cancel
Save