Cursor appearing in form "Reset" button

When using the “Shop by Vehicle” and “Shop by Size” forms in the Widget tabs and a user clicks the “Reset” button a cursor appears briefly as if you can type into the field…

How do I prevent this from happening?

Hi @paullalley,

Thanks for reaching out.

Is it a custom code or a plugin? I recommend contacting the plugin author or the developer that created it. The reason for that the button has no type,

<input id="fieldreset" class="rr-reset-btn" style="width: 26%; outline: none;" form="rr-search-modal" value="Reset">

It’s only styled to appear as a button, and without type, it will be treated as text. It should be like this

<input type="submit" id="fieldreset" class="rr-reset-btn" style="width: 26%; outline: none;" form="rr-search-modal" value="Reset">

You can confirm this by clicking and hold the reset button, then hit any keys. The text will change :slight_smile:

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.