You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 5.3.1 version used in the MVC example (which can be downloaded here), a formatted, valid IBAN is also validated as such.
However, not in the current version 5.9.0, only if the spaces have been removed. Of course, that makes handling more difficult, since I have to replace the spaces in the model, validate them again, then put the formatted string in again, etc.
Is there an option that formatted IBANs that are correct can also be validated without errors?
The text was updated successfully, but these errors were encountered:
Both the data annotations and fluent validation implementations now have a strict parameter (default true), with which you can allow more relaxed validation (whitespace, casing). I will update the wiki when I have some time.
And here is the related discussion: #93 and PR #95
In the 5.3.1 version used in the MVC example (which can be downloaded here), a formatted, valid IBAN is also validated as such.
However, not in the current version 5.9.0, only if the spaces have been removed. Of course, that makes handling more difficult, since I have to replace the spaces in the model, validate them again, then put the formatted string in again, etc.
Is there an option that formatted IBANs that are correct can also be validated without errors?
The text was updated successfully, but these errors were encountered: