My guess: The enter button is the default button so it responds to the enter key. Normally, the is disabled when working in a text control where the enter key has a purpose. So possibly a bug, but look at basic form customizations. You should be able to disable the enter key for the form, or declare the enter key's purpose for the control.