Closed ibufu closed 8 years ago
For example, there is a dialog contains a form. And user inputs invalid data.So, there is some error message.Then user closes the dialog and opens it again. The data user input need to be clear and the old error message also need to be clear.
You can use the $setValidationErrors. See the detail: http://vuejs.github.io/vue-validator/en/api.html#setvalidationerrors-errors-
$setValidationErrors
Close (in-activity)
For example, there is a dialog contains a form. And user inputs invalid data.So, there is some error message.Then user closes the dialog and opens it again. The data user input need to be clear and the old error message also need to be clear.