sillsdev / TheCombine

This is a tool for supporting the rapid word collection workshop and post workshop clean-up
https://sillsdev.github.io/TheCombine/
MIT License
16 stars 13 forks source link

Create project doesn't warn about empty name unless you've clicked in the name field #3173

Closed imnasnainaec closed 2 months ago

imnasnainaec commented 3 months ago

In the Create Project component, if you edit the Project Name field and leave only whitespace, a red warning appears below the field that the name is requires. However, if before you add a name you first add a file to upload or a vernacular language, you don't get a warning that the name field is empty.

Rather than on-change and on-submit checks, have it warn if name is empty and another field is nonempty.