(0) 'Submit' button is always active
1. Go to Special:ClaimMentee page - the 'Submit' button is displayed as active.
2. Without entering anything in the fields, click on the 'Submit' button - two messages appear: "There are problems with some of your input." and "This value is required."
**What should happen instead:**
- if there is no valid input (or no input) 'Submit' button should be inactive
For example, Preferences-Notifications **Mute users** features doesn't display Submit button as active when no usernames or invalid user names are entered.
(1) A temp user name is recognized as a user name.
The drop down list of suggestions is displayed and a temp user name can be selected.
| {F37631724} | {F37631718} |{F37631716}|
Only upon clicking 'Submit' button, the warning message appears: "Provided mentee's username is invalid' which might be confusing:
- A temp user name is not invalid per se, it's Mentorship restriction on claiming temp users as a mentee. The warning message could be more specific.
- The warning message comes only after clicking on 'Submit' button - users may benefit from informing earlier that they cannot perform such an action.
(2) Fully typed invalid user names display different warning messages upon clicking
When a mentor attempts to type a temp user name, a temp user name is displayed in red (the correct behavior), but since 'Submit' button is active, a mentor might click on it. The displayed warning messages are generic: "There are problems with some of your input." and "This value is required." and the "Mentee's username" field is cleared.
The messages might not be sufficient in explaining why valid user names (from the point of view of a mentor) were not accepted:
|{F37631727}|{F37631729}
!!Note!!: Clicking in the field "Mentees user name" produces "Uncaught (in promise) TypeError: n is undefined" Console error.
Should the field have focus after loading, like Special:Search page?