PDA

View Full Version : [CLOSED] Default button



Z
Sep 28, 2017, 3:32 AM
How can i enable a default button on a FormPanel so ENTER fires the tap event?
/Z

fabricio.murta
Sep 28, 2017, 6:26 PM
Hello @Z!

Ext.NET Mobile is designed for mobile devices, so there shouldn't really be a builtin support for binding "enter key" to the form submission. In fact there isn't even a KeyMap or KeyNav component/class in the toolkit so, relying on keyboard actions for the Mobile variation would be, at least at the moment, not a good idea.

If you really require that, then what I think you could do is wire up the key presses' event manually.

Hope this helps!

Z
Oct 16, 2017, 2:55 AM
fair enough.
i wanted it for testing on chrome to be more efficient.
you can close this.
/Z

fabricio.murta
Oct 18, 2017, 7:29 PM
Hello, @Z!

And thanks for the feedback and for understanding.