Closed fehmer closed 1 month ago
can i attempt?? @fehmer
Im assuming you mean validate the name before making a request?
Im assuming you mean validate the name before making a request?
Yes. While typing or on form submit.
@janardannn you can add this validation if you want.
Could you specify rules for usernameSchema ? It would be a great help.
The validation schema is already in place and should be used here as well: https://github.com/monkeytypegame/monkeytype/blob/master/packages/contracts/src/users.ts#L40-L47
Oh, I see. I would like to work on this Please assign me.
Use
UserNameSchema
to validate the new username on the frontend.