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 much of an issue.

If you catch the qrc:/qml/components/SearchBar.qml:133: TypeError: Cannot call method 'activate' of undefined error, it is pretty much the same thing.

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