I'm using vee-validate. It must have value attribute to validate it. But if I'll bind it like this: :value="formdata[name]"
then it works only when the string value inside is not empty. But it is empty initially. In run-time that value attribute is absent. I can do it like this value=""
and change the value with my custom js functions but I wonder if there is another way.
Asked
Active
Viewed 225 times
0

Tony Abrams
- 4,505
- 3
- 25
- 32

Serhiy Mamedov
- 1,080
- 5
- 11
-
1"But it is empty" what do you mean, is it `null` `undefined` or `""` ? – Adam Orłowski Jul 11 '19 at 12:02
-
If you are getting an error, please provide the error that you are getting. – Tony Abrams Jul 11 '19 at 12:32