What is the problem?
When adding a user to a group, if I select "Other" expiry option and enter an invalid value in the input box, after I submit the form I see a validation error but the input box does not appear.
You have to select a different expiry option and then select "Other" again for it to reappear.
Steps to reproduce problem
- Login as a user in the stewards group
- Go to Special:UserRights/<user> for any existing <user>
- Check one of the checkboxes, open the expiry dropdown and select "Other"
- A new input box should appear. Enter an invalid value, e.g. 1.5 hours
- Submit
Environment
Wiki(s): https://en.wikipedia.beta.wmflabs.org MediaWiki 1.46.0-alpha (8d01c6d) 22:48, 27 November 2025.

