fix dropdown component issue (#1709)

* fix dropdown component issue

* handle enable property default
This commit is contained in:
Alan Ren
2018-06-21 18:00:07 -07:00
committed by GitHub
parent 6c5fac997f
commit 322847469d
3 changed files with 10 additions and 13 deletions

View File

@@ -98,10 +98,6 @@ export abstract class ComponentBase extends Disposable implements IComponent, On
if (enabled === undefined) {
enabled = true;
properties['enabled'] = enabled;
this.fireEvent({
eventType: ComponentEventType.PropertiesChanged,
args: this.getProperties()
});
}
return <boolean>enabled;
}