JSFiddle - React, Tailwind, and code Playground
by anAgent
HTML
<div class="collection">
<input class="product" type="text" />
<input class="product" type="password" />
</div>
JavaScript
$(".collection").on("dblclick", ".product:not('input[type=text]')", function() {
alert('double clicked');
});