Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ionic 7: event.detail.target is undefined #159

Open
4 of 11 tasks
Azrael-577 opened this issue Nov 28, 2023 · 1 comment
Open
4 of 11 tasks

[Bug]: ionic 7: event.detail.target is undefined #159

Azrael-577 opened this issue Nov 28, 2023 · 1 comment

Comments

@Azrael-577
Copy link

I'm submitting a

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report
  • Enhancement
  • Feature request
  • Documentation issue or request

Description

  • Bug: an error occurs when loading suggestions with ionic 7: event.detail.target is undefined
  • Feature: Description of the feature. Cause and its Motivation_

Version Information

ionic4-auto-complete: 2.9.9
@angular/cli: 15.0.3

Browser

  • Chrome - 119.0.6045.160
  • Mozilla Firefox - 120.0
  • Opera - x.x.x
  • Microsoft Edge - x.x.x

NOTE: Replace x.x.x with your version information

@Azrael-577
Copy link
Author

in ionic4-auto-complete.js:

/**
* Get items for auto-complete
*
* @param event
* @param show
*/
getItems(event, show) {
this.isLoading = true;
if (this.promise) {
clearTimeout(this.promise);
}
this.promise = setTimeout(() => {
if (event) {
this.keyword = event.detail.target.value;
}
let result;
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant