|
|
@ -585,8 +585,8 @@ export class File extends Widget { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_events(wrap) { |
|
|
|
_events(wrap) { |
|
|
|
const { maxLength, errorText } = this.options; |
|
|
|
|
|
|
|
const callback = () => { |
|
|
|
const callback = () => { |
|
|
|
|
|
|
|
const { maxLength, errorText } = this.options; |
|
|
|
event.del(wrap.dom.input, "change", callback); |
|
|
|
event.del(wrap.dom.input, "change", callback); |
|
|
|
const input = wrap.dom.input.cloneNode(true); |
|
|
|
const input = wrap.dom.input.cloneNode(true); |
|
|
|
const files = F(wrap.dom.input); |
|
|
|
const files = F(wrap.dom.input); |
|
|
|