petal_components
petal_components copied to clipboard
ImageUpload wipes entered data from other form elements
To reproduce, go to Settings -> Edit Profile in a generated Petal app.
If you make changes first to the name, and then profile image, the name changes are lost as soon as an image is selected.
Not a big deal in this example, but if your form has many elements, the user loses all their entered data if one of those elements requires selecting an image to upload.