Closed
Description
- Laravel Version: 8.75.
- PHP Version: 8.1.1
Description:
When validating strings using Gte/Gt/Lte/Lt, as per the Laravel docs, it should count characters in strings, as per the size validator.
When validating "password" using rule "gte:8" it will fail
When validating "8" using rule "gte:8" it will pass
When validating "7" using rule "gte:8" it will fail
When validating "9" using rule "gte:8" it will pass
Size works correctly:
When validating "password" using rule "size:8" it will pass
When validating "8" using rule "size:8" it will fail
If i'm doing it wrong, I apologise!
Steps To Reproduce:
Validate a string with lte/lt/gt/gte to match lengths
Metadata
Metadata
Assignees
Labels
No labels