https://bugzilla.wikimedia.org/show_bug.cgi?id=69749

--- Comment #9 from Trevor Parscal <[email protected]> ---
There are actually several reasons for the setTimeout, but the real problem
here is that getValue compensating for not noticing the value changed
previously causes other issues.

The OO.ui.TextInputWidget has a "change" event, which is depended on by other
systems. If we just make getValue compensate for not noticing the value changed
previously, then systems depending the aggregated change event will behave
incorrectly. The best way to handle this is to either trigger the event or come
up with a way to access the input. We could, for instance, leave references to
widgets in the elements using jQuery.data().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to