Closed brandonchinn178 closed 9 years ago
I specified it so that it only selects options from that select box. Also, the [value=] box refers to the
Right, but I was thinking that we shouldn't make it dependent on the value.
This would mean that, if we wanted to change the values (for example, maybe we might want to specify a specific dot in some other way than dot label: we would change the value
attributes in this case) then we would have to worry about the click functionality implemented here breaking also, right? Which is why I think we should put the data-dot-label="A1"
or js-dot-label="A1"
in addition to value="A1"
Ok, wasn't sure if you meant that. Fixed it!
Also, because there's a pink circle around the selected dot, you can't select the dots right next to the currently selected dot...
I think not being able to click on the dots directly adjacent is fine for now: if people really want to do that, then they can just deselect the dot, haha. Gunna merge this, it looks good, thanks!
Resolves #151