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
When introducing a wrong value in one of the custom fields, after the first save, the error is displayed but after saving it again it the error will disappear, although the value is still incorrect in the form
Steps to Reproduce
Go to 'New upload'
Fill in required fields
Fill in one of the custom fields with a invalid value
Save
Modify any other field except for the custom field with the wrong value
Save
Save again
Error disappeared
Expected behavior
Error should be displayed as long as the value is wrong in the form.
The text was updated successfully, but these errors were encountered:
Frontend: Keep the current state in redux, then do a merge between the current content and the one returned by the REST API.
Backend: Save invalid data in drafts so it is a rest api driven implementation (personally, I prefer this option).
That will require a merge between what is produced by the marshmallow schema and the input data.
Package version (if known):
Describe the bug
When introducing a wrong value in one of the custom fields, after the first save, the error is displayed but after saving it again it the error will disappear, although the value is still incorrect in the form
Steps to Reproduce
Expected behavior
Error should be displayed as long as the value is wrong in the form.
The text was updated successfully, but these errors were encountered: