it is possible to make with Webix regular Submit button, with default behaviour to submit form on Enter press?
You can set hotkey:"enter" for a button to call its "on click" handler on enter key press:
The problem with this hardcoded hotkey: 'enter' approach is that you can tab to the Cancel button and press Enter on it. That should cancel the form, but that sample will say "Login button clicked!", which is incorrect.
So is it possible to simply specify the default/submit button of a form, just like in good old HTML? This is a matter of accessibility, which Webix takes pride in.
For me pressing Enter anywhere on the page is submitting all forms with hotkey: "enter".
@cody: another good point.
@Webix team: any plans for a correct solution?
It looks like you're new here. If you want to get involved, click one of these buttons!