mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
added properties to inputbox and form to be able to change style fro… (#1371)
* added properties to inputbox and form to be able to change style from extension * moved registerModelViewProvider from dashboard to ui namespace
This commit is contained in:
@@ -86,10 +86,10 @@ export abstract class ComponentBase extends Disposable implements IComponent, On
|
||||
});
|
||||
}
|
||||
|
||||
public get title(): string {
|
||||
public get enabled(): boolean {
|
||||
let properties = this.getProperties();
|
||||
let title = properties['title'];
|
||||
return title ? <string>title : '';
|
||||
let enabled = properties['enabled'];
|
||||
return enabled !== undefined ? <boolean>enabled : true;
|
||||
}
|
||||
|
||||
public get valid(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user