Choices/src/styles
Chris DeLuca f745be449d Always hide remove button if no value is selected (#744)
In some cases, the remove item X button is not hidden when there is no
selection made from the dropdown. This is not as usable, since there's
no item to clear, hence an effective noop.

The condition I saw seeing this issue arise is in single selects with
a placeholder value, a selection has been made, and then cleared: the
button HTML remains.

To fix, add some styles to hide the button if the select doesn't have a
value selected, in this case keying off of it's parents `data-value`
property.

fixes #684
2019-11-12 12:29:34 +00:00
..
base.scss [MAJOR] use attribute hidden (#691) 2019-10-24 18:09:44 +01:00
choices.scss Always hide remove button if no value is selected (#744) 2019-11-12 12:29:34 +00:00