Bug Tracker

Opened 6 years ago

Closed 6 years ago

#13048 closed bug (notabug)

Is it a normal behaviour on submitting form?

Reported by: erwann.mest@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

See here: http://jsfiddle.net/mm7Cf/4/

Type any text (or not), just focus on text input, and type enter.

Questions:

  • Why it's the binding on the button which works?
  • Why my binding on the form doesn't work?

If you remove the binding on submit button, my form binding works. If you remove the binding on form, the submit button binding works, EVEN IF I do not click on the button, just submitting it when focusing on text input and type "enter".

In my opinion, it's not the wrong behaviour.

Typing enter on text input focused should only execute bind on form.

Change History (2)

comment:1 Changed 6 years ago by erwann.mest@…

It could be a DOM bug. Gosh... http://jsfiddle.net/NAaBE/1/

comment:2 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.