lcdsantos / lcdsantos/jQuery-Selectric

Multiple selected via code with optgroup.

Open
#231 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
715
Forks
149
PR merge metrics
No merged PRs in 30d

Description

i try to set selected values.
if is only one, it is work fine, but when i try to set prop selected on more than one, then i get wrong results.

https://jsfiddle.net/03yc72d1/3/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked jsfiddle reproduction and compare selecting one value with selecting multiple values inside an optgroup. Trace the jQuery-Selectric select-handling entry point and verify the selected options are represented correctly for both cases; done means the reproduction produces the expected multiple-selection result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.