Should we style TitleInputWidgets with invalid contents with a red border (or whatever), like we do in some other places?
Description
Description
Details
Details
- Reference
- bz72970
Related Objects
Related Objects
Event Timeline
Comment Actions
(In reply to Roan Kattouw from comment #0)
Should we style MWTitleInputWidgets with invalid contents with a red border,
like we do in some other places?
Yes. Maybe we should have an -invalid flag in OOUI… Leaving in VE for now.
Comment Actions
As part of T72957, a month before this task was filed, we implemented this for OOUI's TextInputWidget (and thus MediaWiki's TitleInputWidget); you just need to pass in a validate function or regex in the constructor, or call setValidation later as needed.
Given that, re-titling to be more useful.