Combobox not updated on delete for special characters (in IE)
OpenUI5 version: 1.52.13/1.52.14
Browser/version (+device/version): IE11 (sorry)
Any other tested browsers/devices(OK/FAIL): Chrome (without problem)
URL (minimal example if possible): Better than that, two working example files
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
- select ä from the combobox
- remove focus from the combobox
- put focus back in the combobox (so that ä is not selected)
- Hit the backspace key (to delete the ä)
What is the expected result? The value shown by "Selected ID" should be updated (blank)
What happens instead? The value remains as 1 (which is the id for ä)
Any other information? (attach screenshot if possible) Really important here is, this issue is only happening the first time the page is loaded. Subsequent tries are always successful.
Currently we are working with 1.52* and it is unclear when we can update, however in the attached samples, there is an example running with 1.52.14 and another with 1.56.5, both exhibit the same problem. This problem was reported to be fixed in 1.52.14: [FIX] sap.m.ComboBox: Updating with special characters is now correct But it isn't.
Hi @srenwickblum,
Thank you for providing the code sample When the html files are opened in IE and test as the steps provided by you, the ID was updated with i delete the special character using the backspace key. Hence i was not able to reproduce the issue.
Could you kindly provide more details on how to reproduce the issue, perhaps a video showing the issue.
Thanks and regards, Jay
I can reproduce this reliably on IE11 (Edge does not exhibit this issue). Like I pointed out, this only happens the first time (after initially loading the page). Here are the steps again:
- Open in either page IE11
- Select ä from the drop down
- Selected ID is updated to equal 1
- Click some where else on the screen (focus is removed from the combo)
- Click in the body of the Combo, the ä is highlighted
- Click an empty area of the combo box so the ä is no longer selected and the cursor is blinking in front of the ä
- Hit the backspace key on the keyboard to delete the single character
Bug: Selected ID continues to show 1. If you repeat the steps above without doing a refresh, you'll notice it works every time after. This issue is only occurring the first time.
Thanks for looking into this issue, I hope my re-worded steps make it much easier to reproduce this issue.
Hello @srenwickblum , Thank you for sharing this finding. I've created an internal incident 1870400440. The status of the issue will be updated here in GitHub. Regards, Diana
The fix is merged in the master, 1.58, 1.56 and 1.52 branches.
Best, Teo