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:
Bartosz Sekula
2024-12-11 10:27:33 -05:00
committed by GitHub
parent e38daa3e08
commit cb56c76d1a
3 changed files with 6 additions and 1 deletions

View File

@@ -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 });