mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-29269 Conditional dropdown does not populate after selecting value in a parent dropdown (#10484)
* AAE-29269 Conditional dropdown does not populate after selecting value in a parent dropdown * update * update v2 * validate form * update units
This commit is contained in:
@@ -199,6 +199,7 @@ export class DropdownCloudWidgetComponent extends WidgetComponent implements OnI
|
||||
|
||||
private updateFormControlState(): void {
|
||||
this.dropdownControl.setValidators(this.isRequired() ? [Validators.required] : []);
|
||||
|
||||
this.field?.readOnly || this.readOnly
|
||||
? this.dropdownControl.disable({ emitEvent: false })
|
||||
: this.dropdownControl.enable({ emitEvent: false });
|
||||
|
Reference in New Issue
Block a user