Validate against the viewValue instead of the model

make validator work since official library doesnt seem to be interested