-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata UI freezes on empty mandatory fields #7034
Comments
Error still there:
|
Looks like that if you are not in the first tab some errors occur. |
This comment answer a bit to the problem https://stackoverflow.com/questions/7168645/invalid-form-control-only-in-google-chrome/7264966#7264966 So it looks like that if you change the tab with a 'required field', Django tries to show the classic popup "this field is required" but if fails because is not visible on the page |
@etj the fix is ready and available here #7071. In few words instead of the search only for visible required fields, now the JS will search for all fields required and this prevents the submission without filling required fields from the others tab. |
Expected vs actual Behavior
If a mandatory field is set as empty, and the "update" button is pressed, the UI freezes:
Pls note that mandatory fields on UI are usually pre-filled, so this misbehaviour is normally triggered only if a user edit a mandatory field and empties it.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: