Issue with Button, click event gets triggered even if  Is Default is set to No

Issue with Button, click event gets triggered even if  Is Default is set to No

  
Hi,
 
I have a WebScreen with a Button (lets call it B1), Textbox and another Button (B2)
The Is Default property is set to No for both the buttons.
When the users type in the textbox and press Enter, B1's on click event is triggered.
btw, im using Version 8.0.0.3
 
Is this a bug or am I doing something wrong?
Attached is a sample e-space.
Hi Charles,

That if there is no default button it actually means that then the browser decides what to do.
Usually browsers will trigger the first button (or in the case of IE it will have a very wierd behavior).

So if you have inputs you should have at least one default button.

If what you want to prevent is the Enter key to have an effect, then in your input add a extended property called
OnKeyDown with this value: "return (arguments[0] || window.event).keyCode != 13;"

Regards,
João Rosado
Thanks João.