Open juliekoubova opened 8 years ago
therefore, this snippet never finds any buttons to disable
handler = handlerInstance(element.find('button[type=submit]'), SUBMIT_EVENT, getLoadingClass(attrs), getCallbacks(attrs[SUBMIT_ATTR]));
maybe you could use something like element[0].querySelectorAll('button[type=submit]') instead?
element[0].querySelectorAll('button[type=submit]')
The test scope is depending on jquery for some helpful features. Could you implement your idea and make a pull request?
therefore, this snippet never finds any buttons to disable
maybe you could use something like
element[0].querySelectorAll('button[type=submit]')
instead?