Knockout-Validation
Knockout-Validation copied to clipboard
Auto trim before validate
Is there a trim option before validate? Or what is the best practice to avoid errors with unnecessary blanks?
@Eisenspalter The required rule does this but if you want to remove whitespace before any validation rule, then I would suggest implementing a knockout extender. Check out this SO question too.