single + auto complete > register touched
This commit is contained in:
parent
87cf744d13
commit
1a022a8363
|
@ -312,6 +312,7 @@ export class MultipleAutoCompleteComponent extends _CustomComponentMixinBase imp
|
|||
if (this.inputValue.length > 1 && this.autocomplete.options && this.autocomplete.options.length > 0 && this.autoSelectFirstOptionOnBlur) {
|
||||
this.optionSelectedInternal(this.autocomplete.options.first.value);
|
||||
}
|
||||
this._onTouched();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -284,6 +284,8 @@ export class SingleAutoCompleteComponent extends _CustomComponentMixinBase imple
|
|||
this.inputValue = '';
|
||||
document.getElementById((<HTMLInputElement>$event.target).id).focus();
|
||||
}
|
||||
|
||||
this._onTouched();
|
||||
}
|
||||
|
||||
onChange = (_: any) => { };
|
||||
|
|
Loading…
Reference in New Issue