Last modified: 2014-10-23 21:54:14 UTC
TODO someone needs to figure out what the visual treatment should look like The inputs in question already match :required:empty , so we can probably do most of this with CSS.
Possible options: * Put a red(?) ring/border around the field * Put a red(?) ring/border around the field's label * Make the field's indicator red(?) * Make the field's background red(?) This class we'd toggle on/off should probably be in OOUI.
Change 161516 had a related patch set uploaded by Alex Monk: Make InputWidget mixin FlaggedElement https://gerrit.wikimedia.org/r/161516
Change 161613 had a related patch set uploaded by Alex Monk: Style required but currently-invalid parameters on the template dialog https://gerrit.wikimedia.org/r/161613
Change 161516 merged by jenkins-bot: TextInputWidget: Determine validity on blur and change. https://gerrit.wikimedia.org/r/161516
Change 162511 had a related patch set uploaded by Alex Monk: TextInputWidget: Determine validity in onEdit rather than in setValue https://gerrit.wikimedia.org/r/162511
Change 162511 merged by jenkins-bot: TextInputWidget: Add setValidation function to change pattern used to validate text https://gerrit.wikimedia.org/r/162511
Change 161613 merged by jenkins-bot: Style required but currently-invalid parameters on the template dialog https://gerrit.wikimedia.org/r/161613
Verified the fix in production