Describe the bug
If you open a new submission and immediately click deposit, you'll get a notification saying "Deposit cannot be completed due to errors in the form. Please fill out all required fields to complete the deposit.". Each required field will be highlighted in red with a message underneath saying it's required
However if you first fill out another field in the describe step (e.g. citation) and then click deposit, you'll still get the notification but the required fields won't get that red highlight and error message. Any fields that were already highlighted will lose that highlight
To Reproduce
Steps to reproduce the behavior:
- Start a new submission
- Optionally click the title field but don't enter any value. You'll see it get highlighted in red
- Fill out the citation field
- Click deposit
- You'll notice that the required fields aren't highlighted, and if you did step 2, you'll notice its highlight has disappeared
Expected behavior
All required fields should be highlighted in red, so the user knows what to do to successfully complete the submission
Describe the bug
If you open a new submission and immediately click deposit, you'll get a notification saying "Deposit cannot be completed due to errors in the form. Please fill out all required fields to complete the deposit.". Each required field will be highlighted in red with a message underneath saying it's required
However if you first fill out another field in the describe step (e.g. citation) and then click deposit, you'll still get the notification but the required fields won't get that red highlight and error message. Any fields that were already highlighted will lose that highlight
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All required fields should be highlighted in red, so the user knows what to do to successfully complete the submission