[HtmlUnit] [htmlunit:bugs] #256 Fire INPUT event on tel input

RBRi via HtmlUnit-develop <[email protected]> Wed, 12 Sep 2018 18:16:38 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/feature-requests/256/fe750c0c900991717fc3dbd4f0156fa3d69813d1.bugs@htmlunit.p.sourceforge.net>
fixed, the next release is on the way


---

** [feature-requests:#256] Fire INPUT event on tel input**

**Status:** accepted
**Group:** 2.32
**Created:** Tue Sep 11, 2018 05:02 PM UTC by Tomer Kimia
**Last Updated:** Wed Sep 12, 2018 06:11 PM UTC
**Owner:** RBRi


Currently in `HTMLElement.java` the following code is present:

~~~java
if (this instanceof HtmlTextInput
                || this instanceof HtmlTextArea
                || this instanceof HtmlPasswordInput) {
            fireKeyboardEvent(Event.TYPE_INPUT, c, shiftPressed_ || isShiftNeeded);
  }
~~~

My team uses the `tel` input type to make it easier for mobile users to type in numeric values (i.e. zip codes). We have a function that occurs on input on these fields (which fires on Chrome, Firefox, etc) that does not get called in our tests because, as shown above) HTMLUnit only fires the INPUT event for a few types.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop