What is the problem?
On the Special:Block form, when you enter an invalid expiration time you should see a validation error message (e.g. "Expiry time invalid.").
However, if there are other validation errors on the form as well, it does not appear.
I would also suggest putting the error message below the Expiration input, so it is more obvious and to make it consistent with other validation messages on that form.
Steps to reproduce problem
- Go to Special:Block
- Under "Expiration" select "Other time" and, in the text input, enter something invalid (Alternatively, click the calendar icon and change the time to be in the past)
- Enter some other invalid input (e.g. non-existent user)
Expected behavior: You see an error message saying Expiry time is in the past. or Expiry time invalid. (alongside the other error messages)
Observed behavior: You only see error messages referring to the other invalid input