Closed rpineda26 closed 11 months ago
🛠️ Fix: Fixed this bug by using JavaScript's trim() function on all text fields before validation. This will ensure that any text fields with empty spaces are flagged as invalid by the validator.
New Output/Behavior:
💾 Description: String fields such as project name, location, description, etc must not be set to empty. However, a workaround is by setting the field into a single space character " " so the validation considers the field as not empty and the form can be submitted. This must be fixed so that the validation will also consider fields with white space invalid.
⏰ Expected Outcome: The field validation should make sure that a String field containing only white spaces such as the space character " " is considered not a valid input. The form must be prevented from being submitted and appropriate warnings be produced.
☎️ Actual Outcome: Filling up a String entry with only white spaces is currently considered valid.
🎶 Steps to Reproduce: