tator
tator copied to clipboard
Project and Organization settings FE to handle required fields and errors
The FE currently allows user to submit info in cases without all the required fields, or potentially invalid characters etc.. This causes it to return an error code from the backend which can be uninformative.
The FE should have guard rails for this - I would suggest:
- Indicate required fields with styling (star)
- Check for required fields before submitting info
- (If it is required but missing (null or "", etc), do not submit but add error styling and helpful message)
- (If field has a character that is invalid, check first and return helpful error message inline with input)