elixir-luxembourg / daisy

Data Information System (DAISY) is a data bookkeeping application designed to help Biomedical Research institutions with their GDPR compliance.
GNU Affero General Public License v3.0
12 stars 10 forks source link

No error message and no data declaration creation in case of white space(s) on description field. #481

Open marikapop opened 8 months ago

marikapop commented 8 months ago

Describe the bug (current behaviour) The might be case when DAISY does not create data declaration, neither raise an error message:

image

To reproduce

  1. Create new data declaration.
  2. Choose "Obtained from - others".
  3. Put one white space(s) into description -> Submit button will be activated.
  4. Press "submit". Data declaration is not created, no error messages issued, no more description filed to enter proper text.

Expected behavior Submit button not activated until the text is entered (not just white space(s)).

Environment:

Additional information (error logs, screenshots)

marikapop commented 8 months ago

Non-urgent