IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics

Home Page:https://bit.ly/2kuu1fT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[igDateEditor/igDatePicker] Uncaught TypeError: Cannot read property 'length' of null when a non-numeric Japanese text is selected by mouse click from the drop down of IME's alternative texts.

norikois opened this issue · comments

Description

[igDateEditor/igDatePicker] Uncaught TypeError: Cannot read property 'length' of null when a non-numeric Japanese text is selected by mouse click from the drop down of IME's alternative texts.

Steps to reproduce

You have to add "Japanese" from Windows' Language Settings beforehand in order to reproduce this issue.

  1. Open the attached sample in Chrome or IE11.
  2. Change the keyboard layout to "Microsoft IME" by pressing [Windows] + [Space] or by clicking keyboard layout icon in the task tray.
  3. Go back to the browser and click on the igDateEditor's text box.
  4. If you see "A" icon in the task tray, turn on IME by clicking "A" icon. Then, the icon is changed to "あ".
  5. Type "kyou" in the igDateEditor's text box.
  6. Click one of the Japanese texts without numeric strings in the IME's typeahead drop down list.
  7. Click on the "for focus out" text box.
    -> See the console of the browser's developer tool.
  8. Do the same thing to igDatePicker's text box.
    -> See the console of the browser's developer tool.

Result

infragistics.lob.js:108 Uncaught TypeError: Cannot read property 'length' of null
at e.(anonymous function).(anonymous function)._processInternalValueChanging (http://cdn-na.infragistics.com/igniteui/2018.1/latest/js/infragistics.lob.js:108:21933)
at e.(anonymous function).(anonymous function)._processInternalValueChanging (http://code.jquery.com/ui/1.11.4/jquery-ui.min.js:6:7987)
at e.(anonymous function).(anonymous function)._triggerInternalValueChange (http://cdn-na.infragistics.com/igniteui/2018.1/latest/js/infragistics.lob.js:108:21494)
at e.(anonymous function).(anonymous function)._triggerInternalValueChange (http://code.jquery.com/ui/1.11.4/jquery-ui.min.js:6:7987)
at e.(anonymous function).(anonymous function)._processValueChanging (http://cdn-na.infragistics.com/igniteui/2018.1/latest/js/infragistics.lob.js:105:9043)
at e.(anonymous function).(anonymous function)._processValueChanging (http://code.jquery.com/ui/1.11.4/jquery-ui.min.js:6:7987)
at e.(anonymous function).(anonymous function)._setBlur (http://cdn-na.infragistics.com/igniteui/2018.1/latest/js/infragistics.lob.js:108:16135)
at e.(anonymous function).(anonymous function)._setBlur (http://code.jquery.com/ui/1.11.4/jquery-ui.min.js:6:7987)
at HTMLInputElement.blur.editor (infragistics.lob.js:105)
at HTMLInputElement.dispatch (jquery-1.12.3.js:5226)

Expected result

No such error should occur.

Attachments

Reproducible sample:
igDateEditorSample.zip

Movie which demonstrates the steps to reproduce.
ReproSteps(Movie).zip