mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-35882 Studio modelling forms required dropdown has double asterisk (#10948)
* AAE-35882 fixing the double asterix issue on require fields on preview and form-editors and workspace * AAE-35882 altering one unit as the asterisks are now handled by mat-form-fields
This commit is contained in:
committed by
GitHub
parent
eda59a1de8
commit
22b62804d5
@@ -70,11 +70,11 @@ export class WidgetComponent implements AfterViewInit {
|
||||
|
||||
// Note for developers:
|
||||
// returns <any> object to be able binding it to the <element required="required"> attribute
|
||||
isRequired(): any {
|
||||
isRequired(): boolean {
|
||||
if (this.field?.required) {
|
||||
return true;
|
||||
}
|
||||
return null;
|
||||
return false;
|
||||
}
|
||||
|
||||
isValid(): boolean {
|
||||
|
Reference in New Issue
Block a user