Input fields accept whitespace characters when creating a new set

Describe your bug

When creating a new set with the input value (Only white space character) for the “set name” and “set description” fields was accepted. I can able to create a set with only white-space character.

Steps to reproduce

  1. Go to the my set URL of the codechef website - CodeChef: Practical coding for everyone
  2. Enter 3 whitespaces for set name and 1 whitespace for description.
  3. Click create button.
  4. New set will be created.

Expected Result

It should throw an error that the set name and description not be empty.

Actual Result

A new set is created successfully.

Screenshot

Additional info

Browser - Firefox
Browser Version - 112.0
Operation System - Windows