ragnarlotus/vue-daval

required validation on a numeric field fails with the value 0

Closed this issue · 1 comments

When my validation rule looks like this:
numberUsed: { required: true, type: 'number' },

The required validation fails when I enter a value of 0

OMG, I'm feeling stupid with this required validator XD

I created a new version that hopefully will be the last but couldn't test it because I have to run to work.