oi.file icon indicating copy to clipboard operation
oi.file copied to clipboard

Не очищается file input после выбора файла

Open arhimondr opened this issue 10 years ago • 0 comments

Нету возможности выбрать один и тот же файл несколько раз под ряд. Для себя я подправил следующим образом

//Selecting files in the dialog (input type="file")
              .bind('change', function () {
                _add(this.files ? this.files : this);
                angular.element(this).val('');
                //_add(this); //to check the download via iframe
              });

Если это не вылезет боком в общем случае, возможно стоит добавить в библиотеку

arhimondr avatar Oct 08 '14 19:10 arhimondr