Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

updateSearchParameters doesn't update the search query #22

Open
IkaterinaI opened this issue Nov 22, 2018 · 1 comment
Open

updateSearchParameters doesn't update the search query #22

IkaterinaI opened this issue Nov 22, 2018 · 1 comment

Comments

@IkaterinaI
Copy link

We have our own search input because we want our own placeholder. When we try to update the search parameters it doesn't pick up what we pass. It's always a '*'.

automagic.store.updateSearchParameters({ search: searchValue });

How can we update the search query ourselves?

@artifiedai
Copy link

artifiedai commented May 25, 2020

Try:
automagic.store.setInput(input_text)
automagic.store.search();

input_text: text from your inputsearchbox
automagic.store.setInput('asterisk') is default, thats why you see a 'asterisk'

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

No branches or pull requests

2 participants