Page MenuHomePhabricator

OOjs UI: optionWidget with check icon should not appear for invalid entries in the category input field.
Closed, ResolvedPublic

Description

screenshot

Environment- test2, beta, production.

1> enter in some invalid title characters in the category input field.E.g– “>>”.
2> Notice the field label that appears when you do the above step.

See screenshot.


Version: unspecified
Severity: normal

Attached:

cat2.png (429×1 px, 66 KB)

Details

Reference
bz72000

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:50 AM
bzimport added a project: OOUI.
bzimport set Reference to bz72000.

Can't reproduce anymore, must have been fixed at some point.

matmarex moved this task from Next-up to Doing on the OOUI board.

Looks like it got fixed.But, now when invalid characters are entered in the input field , JS error-

s1.PNG (565×1 px, 70 KB)
"Uncaught TypeError: Cannot read property 'replace' of null" appears.See screenshot.

Hmm, that's probably the root cause of T76868 I recently filed after looking at this bug. :)

Jdforrester-WMF set Security to None.