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

doneButtonText not in i18n files and no longer adjustable via Javascript defaults #2857

Open
AndreEckner opened this issue Jan 4, 2024 · 0 comments
Labels

Comments

@AndreEckner
Copy link

I'm currently using v. 1.13.18.

The i18n relevant entry for closeButtonText was never in the official language files, yet in previous versions one could set it via

$.fn.selectpicker.defaults.doneButtonText = "Schließen"; // this is the german value

Currently neither that nor the following

$.fn.selectpicker.Constructor.DEFAULTS.doneButtonText = "Schließen";

yield any result anymore.

Instead, one has to set the option explicitly via data-attribute on the html-element:

<select data-done-button="true" data-done-button-text="Schließen"></select>

@AndreEckner AndreEckner added the bug label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant