Open mbachtell-nais opened 1 year ago
It appears that a name is required in the PG table, see Screenshot.
However, if I hit the space bar several times in the app and then save the search it isn't trimming that empty white space and allows me to save the search as an entry with no name.
Need to have the app trim that whitespace and require text.
It doesn't appear like there are any form libraries installed for node that would easily allow for required data. Perhaps the react-form-with-constraints-material-ui library would be a solution. Will allow for frontend verification of required data and meshing with current material UI build.
Problem
A user can enter one or more empty strings (e.g. spaces) and this is an acceptable name. This results in a saved search with no name (see Screenshot).
Solution
Require a name be entered in the app.
Screenshots