mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 12:08:36 -05:00
added 'fireOnTextChange' field to azdata.proposed.d.ts (#4341)
This commit is contained in:
@@ -112,7 +112,7 @@ export default class DropDownComponent extends ComponentBase implements ICompone
|
||||
this._editableDropdown.value = this.getSelectedValue();
|
||||
}
|
||||
this._editableDropdown.enabled = this.enabled;
|
||||
this._editableDropdown.fireOnTextChange = properties['fireOnTextChange'];
|
||||
this._editableDropdown.fireOnTextChange = this.fireOnTextChange;
|
||||
} else {
|
||||
this._selectBox.setOptions(this.getValues());
|
||||
this._selectBox.selectWithOptionName(this.getSelectedValue());
|
||||
@@ -171,6 +171,10 @@ export default class DropDownComponent extends ComponentBase implements ICompone
|
||||
return this.getPropertyOrDefault<azdata.DropDownProperties, boolean>((props) => props.editable, false);
|
||||
}
|
||||
|
||||
private get fireOnTextChange(): boolean {
|
||||
return this.getPropertyOrDefault<azdata.DropDownProperties, boolean>((props) => props.fireOnTextChange, false);
|
||||
}
|
||||
|
||||
public getEditableDisplay(): string {
|
||||
return this.editable ? '' : 'none';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user