oss-slu / shelter_volunteers

MIT License
2 stars 3 forks source link

Display the "Search" field in the "Sign Up For Shifts" page and add validations to it #75

Closed SiriChandanaGarimella closed 6 months ago

SiriChandanaGarimella commented 7 months ago

Is this task related to a feature or a bug? Please include relevant issue numbers below. This task contributes to resolving issue #72

Describe the solution you'd like

  1. Display the "Search" field and "search button" in the "Sign Up For Shifts" page at an appropriate place so that it is responsive to the screen size.
  2. Add validations to enter the minimum and maximum characters in the Search input field.
  3. Add a restriction to make sure the search field does not accept any special characters other than "-", " ' ", '&', " / ", "(", ")", ":" or ","
  4. Ignore if only spaces were provided in the Search input field.
  5. An option to clear the text should be there, which clears the text in the search field
  6. The search button should not be enabled if there is no input provided, the input only contains spaces, or if any of the validations fail.