Keats/validator

empty str can pass validator

Closed this issue · 2 comments

" " can pass -> length(min = 1)
any other validate fn supported , dont pass empty str

The string you provided is not empty you have a whitespace char, therefore his length is indeed one.
If the whitespace is not intentional provide a code example.
@MateSoftware2023

thanks,
i used custom validtor to solve this issue,