We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It doesn't appear to be possible to change the placeholder on an already instantiated select2 without going through the internal API.
How we have to do it now:
var select2 = $select.data("select2"); select2.opts.placeholder = "New Placeholder"; select2.setPlaceholder();
How I think it should be done:
$select.select2('placeholder', "New Placeholder");
The text was updated successfully, but these errors were encountered:
Duplicate of https://github.com/ivaynberg/select2/issues/2830.
Sorry, something went wrong.
No branches or pull requests
It doesn't appear to be possible to change the placeholder on an already instantiated select2 without going through the internal API.
How we have to do it now:
How I think it should be done:
The text was updated successfully, but these errors were encountered: