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

qrc:/qml/components/SearchBar.qml:119: TypeError: Cannot read property 'activate' of undefined #190

Open
layters opened this issue Aug 19, 2023 · 0 comments
Labels
good first issue Good for newcomers 🐞 bug Something isn't working qml Qt/QML-related tasks 🆘 help wanted Extra attention is needed

Comments

@layters
Copy link
Owner

layters commented Aug 19, 2023

Details

QML thinks the searchButton is undefined even though it exists. I am trying to call the activate() function but nothing is working.

This ONLY occurs when pressing an item from the suggestions popup (while it contains multiple suggestions). For a single suggestion, this isn't an issue.
Because of this issue, searchBar requires two separate mouse clicks to even select an item from the suggestionsPopup.

Related files

https://github.com/larteyoh/testshop/blob/main/qml/components/SearchBar.qml

@layters layters added 🐞 bug Something isn't working 🆘 help wanted Extra attention is needed good first issue Good for newcomers qml Qt/QML-related tasks labels Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers 🐞 bug Something isn't working qml Qt/QML-related tasks 🆘 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant