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
I have been implementing these normal for the validations of a registration form where we depend on the minimum length of a specific string, For example:
identification: "1000000001"
This, when used in standards as the documentation dictates, is as follows:
If we look at the rules structure that we are going to use it is correct, but when the information comes in with a string '' it takes it as true and ignores this.
The error implies that lengthBetween and lengthMin are not taking the expected minimum length, accepting that input '' is true when in fact it should be false.
The text was updated successfully, but these errors were encountered:
I have been implementing these normal for the validations of a registration form where we depend on the minimum length of a specific string, For example:
identification: "1000000001"
This, when used in standards as the documentation dictates, is as follows:
If we look at the rules structure that we are going to use it is correct, but when the information comes in with a string '' it takes it as true and ignores this.
The error implies that lengthBetween and lengthMin are not taking the expected minimum length, accepting that input '' is true when in fact it should be false.
The text was updated successfully, but these errors were encountered: