We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51631c commit 327125aCopy full SHA for 327125a
src/kendo.validator.js
@@ -421,9 +421,13 @@ export const __meta__ = {
421
inputs = containerElement.find(this._inputSelector);
422
423
containerElement.find(UPLOADBUTTONWRAPPER).each(function() {
424
- let firstFileInput = $(this).find("input[type='file']").first();
+ let uploadContainer = $($(this).parents(".k-upload")[0]),
425
+ firstFileInput = $(this).find("input:hidden[type='file']").first();
426
+
427
if (firstFileInput.length) {
- Array.prototype.push.call(inputs, firstFileInput[0]);
428
+ if (uploadContainer.length && !uploadContainer.hasClass("k-disabled")) {
429
+ Array.prototype.push.call(inputs, firstFileInput[0]);
430
+ }
431
}
432
});
433
0 commit comments