chore(packaging): fix warnings in forms
This commit is contained in:
parent
50b553964d
commit
d144e9a345
|
@ -31,12 +31,14 @@ export class ControlDecorator {
|
|||
_updateDOM() {
|
||||
// remove it once all DOM write go throuh a queue
|
||||
if (isPresent(this._controlName)) {
|
||||
this._el.domElement.value = this._control().value;
|
||||
var inputElem: any = this._el.domElement;
|
||||
inputElem.value = this._control().value;
|
||||
}
|
||||
}
|
||||
|
||||
_updateControl() {
|
||||
this._control().value = this._el.domElement.value;
|
||||
var inputElem: any = this._el.domElement;
|
||||
this._control().value = inputElem.value;
|
||||
}
|
||||
|
||||
_control() {
|
||||
|
|
|
@ -27,13 +27,6 @@ export function main() {
|
|||
});
|
||||
}
|
||||
|
||||
var compiler;
|
||||
|
||||
beforeEach(() => {
|
||||
compiler = new Compiler(dynamicChangeDetection, null, new DirectiveMetadataReader(),
|
||||
new Parser(new Lexer()), new CompilerCache());
|
||||
});
|
||||
|
||||
describe("integration tests", () => {
|
||||
it("should initialize DOM elements with the given form object", (done) => {
|
||||
var ctx = new MyComp(new ControlGroup({
|
||||
|
|
Loading…
Reference in New Issue