Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Set Multiple selected values , but only one are selected . #24

Closed
dsjtlmy opened this issue Dec 12, 2018 · 1 comment
Closed

Set Multiple selected values , but only one are selected . #24

dsjtlmy opened this issue Dec 12, 2018 · 1 comment

Comments

@dsjtlmy
Copy link

dsjtlmy commented Dec 12, 2018

open page https://select2.org/getting-started/basic-usage
and execute script in console:
$('.js-example-basic-multiple').select2('val', ["HI", "CA"])

It doesnot work. Only one are selected .

https://select2.org/getting-started/basic-usage

@kevin-brown
Copy link
Member

This appears to be more of a usage question than a bug report or common feature request. As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.

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

No branches or pull requests

2 participants