Skip to content

Redirect on click added #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NikolayTimofeev
Copy link
Contributor

Sorry that I have a little bit different style settings so there is some noise changes but essentially I added optional parameter "linkFormatToRedirectOnClick" if it is presented the click on a dropdown list element will redirect to relevant product page as in "www.site.com/products/id_to_replace " where "id_to_replace" is a key phrase and will be replaced with "id" of selected item. I use it in autocomplete search elements.

Not sure if you would like this in a main repo but just in case here is a pull request.

If parameter linkFormatToRedirectOnClick is presented the click on a
dropdown list element will redirect to relevant product page.
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

Successfully merging this pull request may close these issues.

1 participant