I am trying to:
Have an interactive AJAX search of title of custom post type
Link to a page where the issue can be seen:
hidden link
I expected to see:
changing result
Instead, I got:
no changing result. only if i put a search-button and search the string
Dear Beat,
I assume we are talking about the search box outputted from shortcode [wpv-filter-search-box]
It is expected result, it does not trigger the AJAX search by default, when you input some keyword in it, you will need to press "Enter" key.
As a work around, you can edit the view, find and edit the shortcode [wpv-filter-search-box], add attribute class="js-wpv-filter-trigger" in it, for example:
[wpv-filter-search-box output="bootstrap" class="js-wpv-filter-trigger"]
Then after you input some keyword in the search box, click other empty area, it will be able to trigger the AJAX search too.
Thank you! It was also ment as a suggestion to make it at least optional. But i can imagine it's not quite trivial (would be something like the new plugin-search in wordpress).
I will probably use other techniques in this case, i can simply load all records in frontend and filter there on-the-fly, much faster anyway.
thanks!