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