How to remove a spaces in username in login page in reactjs?

3 Answers

Relevance
  • keerok
    Lv 7
    4 weeks ago

    In your browser's settings, delete your saved password.

    • Login to reply the answers
  • Chris
    Lv 7
    4 weeks ago

    Here's how to prevent the user from entering spaces in the first place, using a controlled input: https://codesandbox.io/s/determined-neumann-zhddp

    • Login to reply the answers
  • 4 weeks ago

     to remove a spaces in username in login page in reactjs

    usename.trim()

    • Login to reply the answers
Still have questions? Get your answers by asking now.