vue-formulate icon indicating copy to clipboard operation
vue-formulate copied to clipboard

InputFile and InputText cannot be set with new values ​​after a Form reset

Open JohannRobinson opened this issue 4 years ago • 1 comments

Description:

InputFile Bug I have discovered a bug in VueFormulate. It has to do with the reset method, specifically for resetting the InputFiles, since it only resets the model but not the value of the "input tag". This causes that if I upload a file named "myImage.jpg", reset the form and then try to upload the same file "myImage.jpg", it does not upload.

https://user-images.githubusercontent.com/5420523/127366506-e823a836-dd7d-4122-8d2c-008b49698464.mp4

InputText Bug I have also noticed another error regarding the input text. The error is specifically in the assignment of values ​​to the inputs after a reset, because when doing so the new values ​​are not written to the input.

https://user-images.githubusercontent.com/5420523/127363285-daa00c5a-142e-4e2b-9151-09261a5dd33c.mp4

CodePen:

https://codepen.io/johannrobinson/pen/mdmxrrv

JohannRobinson avatar Jul 28 '21 17:07 JohannRobinson

I can confirm this...

visini avatar Aug 31 '21 17:08 visini