Combobox Keyboard UP and Down Key call onChange Event From Version 7.0.5 But In previous versions its called onChange Event on Click of Enter Key

asked 2018-03-27 13:43:22 +0800

mitulkhamar gravatar image mitulkhamar

updated 2018-03-27 13:55:22 +0800

I am using combo box and my requirement is when I am select any option from menu do some process but right now after Version while selecting through up and down arrow from keyboard its hit onChange Event. But I need it should call onChnage event after click on Enter final selection, That was work fine in the previous version 7.0.4.

Please guide me how can I get back 7.0.4 behaviour in new version? How can I know which changes they have made and in which files?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-03-28 19:21:30 +0800

cor3000 gravatar image cor3000
4952 2 7
ZK Team

updated 2019-01-11 14:34:41 +0800

The change causing the updated behavior seems to originate here https://github.com/zkoss/zk/commit/17fdb14a4279aeb482a4b21132e2b438164c8219#diff-e1c31ce5bd0ed2c14db649d67bee47f7

As you can see this change was a fix for ZK-2548. Are you sure you want to revert that fix?

UPDATE: I posted the FR ZK-4185 to have the option to disable eager onSelect/onChange events

UPDATE2: FR ZK-4185 will be added in 8.6.1 and is currently testable in 8.6.1.FL.20190110

link publish delete flag offensive edit

answered 2018-03-30 15:45:04 +0800

mikrobe gravatar image mikrobe
61 1 4

I too support the request somehow.

I'm using a combobox to let the user select an item to add to a list. Having autocomplete active, it is quite common that the user types some chars in and then uses arrows to move up or down to select the item.

The problem is that anytime the user presses an arrow key, the item is added to the list.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2018-03-27 13:43:22 +0800

Seen: 14 times

Last updated: Jan 11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More