openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.m.Select: Keystroke indexing in list doesn't work with Chinese IME

Open cmastrandrea opened this issue 7 years ago • 4 comments

OpenUI5 version: latest

Browser/version (+device/version): all

Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible): https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.Select/preview https://jsbin.com/lupini/edit?html,js,output

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. Bring up the jsbin sample and give focus to the Select control
  2. Activate any Chinese IME
  3. Attempt to compose a Chinese character using the IME, such as the first one in the Select control's list ( '可')

What is the expected result? Expected that keystrokes would activate the IME composition window in order to allow for composing of a Chinese character, to assist in navigating through the Select list, similar to the behavior of single-byte characters.

What happens instead? When the list contains only Chinese characters, keystrokes are ignored since any single key doesn't match the multi-byte Chinese characters.

Any other information? (attach screenshot if possible) This may be by design, but it's a loss in functionality for Asian locales, as the user doesn't have the same convenience of searching through a long list by specifying the first character.

cmastrandrea avatar Mar 03 '17 15:03 cmastrandrea

Hi @cmastrandrea ,

how can I reproduce it without Chinese keyboard? Is this supported by simple html select?

Kind regards, Petyo (openUI5 Dispatcher)

PetyoKostakov avatar Mar 06 '17 11:03 PetyoKostakov

You can use an Input Method Editor as described at https://en.wikipedia.org/wiki/Input_method

The standard HTML Select control doesn't support this, so it would be an enhancement to the basic HTML functionality.

cmastrandrea avatar Mar 06 '17 14:03 cmastrandrea

Thanks @cmastrandrea I will forward this request to the POs.

PetyoKostakov avatar Mar 07 '17 11:03 PetyoKostakov

This enhancement request will be covered in backlog item BGSOFUIPIRIN-5680.

flovogt avatar Apr 08 '22 13:04 flovogt