0

I am using angular-file-upload

I am taking file input in a dialog, my flow is as follows:

User open dialog, Upload File, User Closes the dialog

The issue is, when the user opens the dialog next time, without refreshing the page (obviously), the previous file name is still there next to "browse" button. But when user click on upload, it doesn't upload the same file, even if the user re select the same file. I know it has something to do with the onchange event but how to solve this in angularjs?

I tried resetting the model attached to file input, but no luck.

1 Answer 1

1

Try to set replaceFileInput config to true

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.