single + auto complete > register touched

This commit is contained in:
mchouliara 2024-08-26 15:50:02 +03:00
parent 87cf744d13
commit 1a022a8363
2 changed files with 3 additions and 0 deletions

View File

@ -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();
}

View File

@ -284,6 +284,8 @@ export class SingleAutoCompleteComponent extends _CustomComponentMixinBase imple
this.inputValue = '';
document.getElementById((<HTMLInputElement>$event.target).id).focus();
}
this._onTouched();
}
onChange = (_: any) => { };