grevory / bootstrap-file-input

Standardizes the file input field to look like a Bootstrap button in all browsers
Other
179 stars 63 forks source link

Remove a File from the Input type file #35

Open fcferreira29 opened 9 years ago

fcferreira29 commented 9 years ago

Hello,

i am having a struggle using the input type file,

here is the question, i am filling the input normally, selecting the photo and then submitting the form,

the problem here is that i need to refill the input file because i can return to the form and change the data, what i have done was to put the name of the previous file in a div and adding a remove button, and then showing the browse again,

is there a way of having the file input filled and having a remove button?