You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, as <form> elements have a length they can't be used as Wallop containers because of this:
if(selector.length>0){thrownewError('Selector cannot be an array, Refer to Usage documentation: https://github.com/peduarte/wallop#javascript');}else{this.$selector=selector;}
Any thoughts how we could like to deal with it? Something like if (selector.tagName !== 'FORM' && selector.length > 0) { perhaps?
Great module by the way, works really well otherwise!
The text was updated successfully, but these errors were encountered:
Hi, as
<form>
elements have a length they can't be used as Wallop containers because of this:Any thoughts how we could like to deal with it? Something like
if (selector.tagName !== 'FORM' && selector.length > 0) {
perhaps?Great module by the way, works really well otherwise!
The text was updated successfully, but these errors were encountered: