#230 refactor de tabIndex debido al refactor de icon-button
This commit is contained in:
parent
5546890ee9
commit
4455f77f8e
|
@ -24,9 +24,11 @@ export default class Textfield extends Input {
|
||||||
this.hasValue = Boolean(this._value);
|
this.hasValue = Boolean(this._value);
|
||||||
this.mdlUpdate();
|
this.mdlUpdate();
|
||||||
}
|
}
|
||||||
set tabIndex(value) {
|
|
||||||
this.input.tabIndex = value;
|
set vnTabIndex(value) {
|
||||||
|
this.input.tabindex = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
clear() {
|
clear() {
|
||||||
this.value = null;
|
this.value = null;
|
||||||
this.input.focus();
|
this.input.focus();
|
||||||
|
@ -49,6 +51,6 @@ ngModule.component('vnTextfield', {
|
||||||
readonly: '<?',
|
readonly: '<?',
|
||||||
rule: '@?',
|
rule: '@?',
|
||||||
type: '@?',
|
type: '@?',
|
||||||
tabIndex: '@?'
|
vnTabIndex: '@?'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue