lcdsantos / lcdsantos/jQuery-Selectric

Dependent select boxes

Open
#229 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

Hey
First of all i love your library, pretty cool and working very well so far.

I got a small problem. I am using selectric in magento. Works fine in most cases, but if i have for example a product like oil and i need to select the viscosity and dependent on the selection the sizes will show (usually 2 selected boxes, and one is empty till you select the first).

I tried to reinitialize all select boxes with selectric after selecting the first box, but it wont make a difference, the new options wont show up in the second select.

Does anyone had a similar issue?

Kind Regards
Peter

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 by reproducing the dependent-select scenario described for Magento, with one select initially empty and the second updated after the first changes. Inspect Selectric initialization and reinitialization behavior around the updated options; the issue is done when newly added options appear in the dependent select.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.