Browse Source
Merge pull request #195 from dsbegnoche/master
Number/Radio with Default Value always invalid
pull/197/head
Sebastian Stehle
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Squidex/app/shared/services/schemas.service.ts
|
|
@ -426,7 +426,7 @@ export class NumberFieldPropertiesDto extends FieldPropertiesDto { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (this.allowedValues && this.allowedValues.length > 0) { |
|
|
if (this.allowedValues && this.allowedValues.length > 0) { |
|
|
validators.push(ValidatorsEx.validValues(this.allowedValues)); |
|
|
validators.push(ValidatorsEx.validValues(this.allowedValues.map(String))); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return validators; |
|
|
return validators; |
|
|
|