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

Incorrect inputTooShort, inputTooLong, maximumSelected for "fr" #5159

Closed
miksh7 opened this issue Dec 8, 2017 · 1 comment
Closed

Incorrect inputTooShort, inputTooLong, maximumSelected for "fr" #5159

miksh7 opened this issue Dec 8, 2017 · 1 comment

Comments

@miksh7
Copy link

miksh7 commented Dec 8, 2017

In "fr" localization a few items have the same bug (e.g. for inputTooShort):

return "Saisissez au moins " + t + " caractère" + (t > 1) ? "s" : ""
will return "s"

the fix:
return "Saisissez au moins " + t + " caractère" + ((t > 1) ? "s" : "")

See http://jsbin.com/bohoteqesa/1/edit?html,js,output

  • click on select to see inputTooShort issue
  • type 5 characters or more to see inputTooLong issue
@alexweissman
Copy link
Contributor

This has already been fixed; see #5122.

For future reference, you MUST confirm your problem in the latest version of Select2 before opening an issue.

samirmember added a commit to samirmember/yii2-widget-select2 that referenced this issue May 10, 2019
This issue has been fixed in the Select2 library: select2/select2#5159
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants