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
Hi @ivaynberg!
Is it possible to change the data of a select2 input (not the selection but the whole data array)?
$input.select2({ data: myData, width: '300px', placeholder: GLO_LANG_SELECT, // others properties }).on('change', function (e) { add(e.val); }).on('others events' ...
Then
$input.select2().data = myNewData;
It will be very helpful!
The text was updated successfully, but these errors were encountered:
Merged into #2830 (comment).
Sorry, something went wrong.
No branches or pull requests
Hi @ivaynberg!
Is it possible to change the data of a select2 input (not the selection but the whole data array)?
Then
It will be very helpful!
The text was updated successfully, but these errors were encountered: