mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-35976 Adding auto required instead of manually handling styles manually (#10956)
* AAE-35976 adding auto-required instead of manually handling required using asterisks inside mat-form-field elements * AAE-35976 removing hiderequiredmarker as it'll be handled by the form-fields itself Resolving merge conflicts with develop * AAE-35976 fixing units * AAE-35976 adding isVisible condition with the required field * AAE-35976 removing the method call from html and using the variable instead for conditions
This commit is contained in:
committed by
GitHub
parent
056e4c1429
commit
16f42be08e
@@ -331,7 +331,7 @@ describe('StartFormComponent', () => {
|
||||
expect(dateElement).toBeDefined();
|
||||
expect(selectElement).toBeDefined();
|
||||
|
||||
expect(translate.instant(inputLabelElement.textContent.trim())).toBe('ClientName*');
|
||||
expect(translate.instant(inputLabelElement.textContent.trim())).toBe('ClientName');
|
||||
expect(translate.instant(dateLabelElement.innerText)).toBe('BillDate (D-M-YYYY)');
|
||||
expect(translate.instant(selectLabelElement.innerText)).toBe('ClaimType');
|
||||
});
|
||||
|
Reference in New Issue
Block a user