Hi,
I am having two problems with setSaveOnEnter().
1) Some of my form items have picker icons. When the user navigates to the picker icon using the TAB key, they need to press ENTER to trigger the action associated with the it. However, this also submits the form :(
2) I also have a custom item that displays a drop-down grid when activated. The user can press ENTER to select an item in the grid. This is done by adding a keyDownHandler to the grid. Inside this handler I call event.cancel() but it does not stop the event from bubbling up to the form :(
Any hints?
Best,
Michał
I am having two problems with setSaveOnEnter().
1) Some of my form items have picker icons. When the user navigates to the picker icon using the TAB key, they need to press ENTER to trigger the action associated with the it. However, this also submits the form :(
2) I also have a custom item that displays a drop-down grid when activated. The user can press ENTER to select an item in the grid. This is done by adding a keyDownHandler to the grid. Inside this handler I call event.cancel() but it does not stop the event from bubbling up to the form :(
Any hints?
Best,
Michał
Comment