@fundamental-ngx/platform 0.58.0-rc.44 → 0.58.0-rc.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2880,6 +2880,13 @@ class AutoCompleteDirective {
2880
2880
  if (!this._triggerTypeAhead()) {
2881
2881
  return;
2882
2882
  }
2883
+ // Check if this is a new typing session after programmatic input modification
2884
+ const currentNativeValue = this._element.value;
2885
+ if (this.inputText.length > currentNativeValue.length + 1) {
2886
+ // Reset inputText to current value and don't do typeahead
2887
+ this.inputText = currentNativeValue;
2888
+ return;
2889
+ }
2883
2890
  this._oldValue = this.inputText;
2884
2891
  const item = this._searchByStrategy();
2885
2892
  if (item) {