Page MenuHomePhabricator

[BUG] Special:Block without JavaScript: "Other" field in Expiration section is required even if "Other" is not selected
Open, NormalPublic2 Story PointsBug


What is the problem?

To submit the Special:Block form with JavaScript disabled, I am required to type some text into the Other input even if the "Other" expiration option has not been selected.

It does not seem to matter what you type into this field.

With JS enabled, this input disappears when another option is selected.

Steps to reproduce problem
  1. Disable javascript on the browser
  2. Go to Special:Block (need to be admin)
  3. Attempt to submit a block with an Expiration option other than "Other time:"

Expected behavior: You are not required to type any text into the text input box under "Expiration"
Observed behavior: You are prevented from submitting until you type any text in the input

Event Timeline

Restricted Application added subscribers: MGChecker, Aklapper. · View Herald TranscriptApr 9 2019, 5:00 PM

Assuming this is about MediaWiki-User-management when it comes to a related codebase.

Niharika triaged this task as Normal priority.
Niharika set the point value for this task to 2.Apr 18 2019, 6:21 PM