form_field_validator
form_field_validator copied to clipboard
Length Validators now consider emojis as one character.
The length validators didn't consider the length of a string which has emojis. They'd count an emoji as two characters which is incorrect from the user's perspective. I changed all the length validators to get the length property from value.runes instead which considers an emoji as one character.