Open
Description
Expected Behavior
Form submission stops and you get notified what input field is faulty.
empty-value accepting null
or ""
to make input value empty.
Actual Behavior
Form goes trough without validating; Input field has a value of 0
or {{empty-value}}
Steps to Reproduce the Problem
- Create a form tag with a submit function.
<form @submit.prevent = "doSomething()">
- Create a new fresh component, add v.model and add attribute "required" to the tag
- Add submit button to form
- Submit empty form
Specifications
- Plugin Version: 2.2.8
- Vue.js Version: 2.5.13
- Browser: Google Chrome: 63.0
- OS: Windows: 10