qualiture / ui5-validator

MIT License
42 stars 23 forks source link

Tiny bugfix #3

Closed jpenninkhof closed 8 years ago

jpenninkhof commented 8 years ago

Need to set the validation result to true when the validator is started. This prevents it from returning an erroneous false on second run.

qualiture commented 8 years ago

Makes sense; at first i thought the initial state should be false but that would not work if controls have no validations. Your fix seems correct :)