Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input with emoji don't show the right length #3731

Closed
iplanwebsites opened this issue Apr 20, 2022 · 2 comments · Fixed by #3742
Closed

Input with emoji don't show the right length #3731

iplanwebsites opened this issue Apr 20, 2022 · 2 comments · Fixed by #3742

Comments

@iplanwebsites
Copy link

Overview of the problem

Buefy version: 0.9.19
Vuejs version: 2.x
OS/Browser:

Description

Length of strings with Emoji in input isn't accurate.

image

There's disparity between browser implementation, it'd be nice to have a solid way to validate length using the right function within Buefy directly.

Expected behavior

1 emoji = 1 character

Actual behavior

1 emoji = many

@joaoGabriel55
Copy link
Contributor

I can take a look @iplanwebsites

@iplanwebsites
Copy link
Author

Thanks @joaoGabriel55 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants