acmpesuecc / Loop

MIT License
0 stars 5 forks source link

Add Error Display for minlength and maxlength Constraints #5

Open shri30yans opened 1 month ago

shri30yans commented 1 month ago

Currently, the input boxes in the Create Project page do not provide any feedback when the entered text does not meet the specified minlength or maxlength constraints. We need to implement error messages when these constraints are violated.

Show the error message below that particular input box.

Requirements

  1. Minlength Error: If the text entered in the input box is shorter than the defined minlength, an error message should be displayed indicating that the input is too short.
  2. Maxlength Error: If the text exceeds the defined maxlength, an error message should be shown indicating that the input is too long.

    Acceptance Criteria

    • When the user inputs text:
    • If the text length is less than minlength, show an error message: "Input is too short. Minimum length is X characters."
    • If the text length exceeds maxlength, show an error message: "Input is too long. Maximum length is Y characters."
    • The error message should disappear once the input meets the constraints.

Additional Information

bunsamosa-bot[bot] commented 1 month ago

Thank you for opening this issue! A Maintainer will review it soon!

Alakhg1408 commented 1 month ago

can i please try this one , please !!!!

shri30yans commented 1 month ago

!assign @Alakhg1408

bunsamosa-bot[bot] commented 1 month ago

Hey @shri30yans! The timer for the @Alakhg1408 to work on the issue has finished, deassign and assign a new contributor or extend the current timer. Contact maintainer leads if inactive @DedLad @polarhive @achyuthcodes30

shri30yans commented 1 month ago

!assign @Alakhg1408

bunsamosa-bot[bot] commented 1 month ago

Hey @shri30yans! The timer for the @Alakhg1408 to work on the issue has finished, deassign and assign a new contributor or extend the current timer. Contact maintainer leads if inactive @DedLad @polarhive @achyuthcodes30

aryasd29 commented 1 month ago

assign please

shri30yans commented 1 month ago

!assign @aryasd29

Shresht-Ahuja commented 1 month ago

can i get assigned to this

shri30yans commented 1 month ago

!assign @Shresht-Ahuja

Shresht-Ahuja commented 1 month ago

!withdraw