- форма Submit-ится (если в ней 1-н инпут)
А если в форме 2-а инпута -- то НЕТ
Нажмите Enter в форме №1 и в форме №2
https://codesandbox.io/s/frosty-orla-1b5jo9?file=/src/App.vue
"If the form has no submit button, then the implicit submission mechanism must do nothing if the form has more than one field that blocks implicit submission, and must submit the form element from the form element itself otherwise." https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#implicit-submission
I understand the button is required. Thanks.
Обсуждают сегодня