Title: Remove automatic search not working!
Last modified: November 20, 2021

---

# Remove automatic search not working!

 *  Resolved [Periklis Kakarakidis](https://wordpress.org/support/users/perikliskakarakidis/)
 * (@perikliskakarakidis)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/remove-automatic-search-not-working/)
 * I replaced the main.js in path view/frontend/web/main.js but the search still
   triggers when I fill all the fields.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Periklis Kakarakidis](https://wordpress.org/support/users/perikliskakarakidis/)
 * (@perikliskakarakidis)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/remove-automatic-search-not-working/#post-15087315)
 * It seems that if I enable (Display category drop-downs after selecting make, 
   model) option inside of plugin’s settings tab. And then inside the view/frontend/
   web/main.js I replace the ELSE to be [ else if (selects.length == 9 ) ] in line
   220, it works like a charm.

Viewing 1 replies (of 1 total)

The topic ‘Remove automatic search not working!’ is closed to new replies.

 * ![](https://ps.w.org/ymm-search/assets/icon-256x256.png?rev=1750193)
 * [Year Make Model Search for WooCommerce](https://wordpress.org/plugins/ymm-search/)
 * [Support Threads](https://wordpress.org/support/plugin/ymm-search/)
 * [Active Topics](https://wordpress.org/support/plugin/ymm-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ymm-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ymm-search/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Periklis Kakarakidis](https://wordpress.org/support/users/perikliskakarakidis/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/remove-automatic-search-not-working/#post-15087315)
 * Status: resolved