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:
Soumyajit Chakraborty
2025-06-16 20:13:38 +05:30
committed by GitHub
parent eda59a1de8
commit 22b62804d5
3 changed files with 12 additions and 4 deletions

View File

@@ -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 {