You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On job creation (or display set / archive item creation / updating), if a user selects an image or uploads a new one and some other interface field in the form fails validation, the image choice isn't remembered and the user has to reupload or reselect the image on the returned form.
To Reproduce
Steps to reproduce the behavior:
Create an algorithm with at least two inputs: one image input and, e.g. a number input.
Upload an image or select an existing image for the image interface. Enter invalid input for the second interface.
Click 'Submit'
The form will be re-rendered, displaying the validation error for the second input. The FlexibleImageWidget will now be empty, and you will need to re-select an image or re-upload an image for that interface before being able to re-submit.
Expected behavior
The FlexibleImageWidget should remember the user's choice and should be prepopulated accordingly.
The text was updated successfully, but these errors were encountered:
Describe the bug
On job creation (or display set / archive item creation / updating), if a user selects an image or uploads a new one and some other interface field in the form fails validation, the image choice isn't remembered and the user has to reupload or reselect the image on the returned form.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The FlexibleImageWidget should remember the user's choice and should be prepopulated accordingly.
The text was updated successfully, but these errors were encountered: