mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-30058 Integer form field should not allow more than 10 digits (#11146)
* AAE-30058 Integer form field should not allow more than 10 digits * Update maxLength validator to get custom values * fix units
This commit is contained in:
@@ -1210,7 +1210,7 @@ describe('FormCloudComponent', () => {
|
||||
formComponent.formCloudRepresentationJSON = new FormCloudRepresentation(JSON.parse(JSON.stringify(cloudFormMock)));
|
||||
const form = formComponent.parseForm(formComponent.formCloudRepresentationJSON);
|
||||
expect(formComponent.fieldValidators.length).toBe(1);
|
||||
expect(form.fieldValidators.length).toBe(10);
|
||||
expect(form.fieldValidators.length).toBe(11);
|
||||
});
|
||||
|
||||
describe('form validations', () => {
|
||||
|
||||
Reference in New Issue
Block a user