Closed
Description
Describe the bug
When required
is used in b-form-file
and a file is dragged, it still shows select a file alert on submit.
It works fine with selecting file from the popup file system.
Steps to reproduce the bug
- Go to https://codesandbox.io/s/form-required-drag-0uccq
- Drag a file in the Choose file form.
- Submit form, it shows alert.
- Now click on
Choose a file
and select a file from the selector. - Submit form, it works.
Expected behavior
- Go to https://codesandbox.io/s/form-required-drag-0uccq
- Drag a file in the Choose file form OR click on
Choose a file
and select a file from the selector. - Submit form. It should work for both methods.