editable-text: Forward onTextEntered() from input

Fixes #5043
This commit is contained in:
Abe Jellinek 2025-02-20 14:40:58 -05:00
parent 45310397e5
commit d3871d6864

View file

@ -312,6 +312,13 @@
delete autocompleteParams.popup;
delete autocompleteParams.search;
Object.assign(this._input, autocompleteParams);
this._input.onTextEntered = () => {
if (this.onTextEntered) {
return this.onTextEntered();
}
return false;
};
}
// Set text direction automatically if user has enabled bidi utilities