#230 refactor de tabIndex debido al refactor de icon-button

This commit is contained in:
Gerard 2018-04-19 14:48:38 +02:00
parent 5546890ee9
commit 4455f77f8e
1 changed files with 5 additions and 3 deletions

View File

@ -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: '@?'
} }
}); });