|
|
@@ -794,7 +794,7 @@
|
|
|
var v = $(this).attr('data-bv-validator');
|
|
|
return $field.data('bv.result.' + v) != that.STATUS_VALID;
|
|
|
}).length == 0;
|
|
|
- this.disableSubmitButtons(this.isValid() ? false : true);
|
|
|
+ this.disableSubmitButtons(this.$submitButton ? !this.isValid() : !isValidField);
|
|
|
if ($icon) {
|
|
|
$icon
|
|
|
.removeClass(this.options.feedbackIcons.invalid).removeClass(this.options.feedbackIcons.validating).removeClass(this.options.feedbackIcons.valid)
|