Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

$validate API not updating touched prop in checkbox and radio button elements #210

Closed
losadaem opened this issue Apr 27, 2016 · 0 comments
Closed

Comments

@losadaem
Copy link
Contributor

vue & vue-validator version

1.0.21, 2.0.2

Reproduction Link

http://jsfiddle.net/5sH6A/323/

Steps to reproduce

Click validate button.

What is Expected?

Touched props updated to true.

What is actually happening?

Touched prop is not updated in radio button element.

kazupon pushed a commit that referenced this issue Apr 28, 2016
Add touched option to `willUpdateFlags` in `RadioValidation` and
`CheckboxValidation` classes.

In 4635ce4 $validate API was updated with touched option. But this
was not implemented in `BaseValidation` subclasses.

Add tests for all validatable elements

Fixes: #210
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant