Choices/public/assets/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.css Fix constructor (#693) 2019-10-29 21:19:56 +00:00
base.min.css Fix constructor (#693) 2019-10-29 21:19:56 +00:00
choices.css Always hide remove button if no value is selected (#744) 2019-11-12 12:29:34 +00:00
choices.min.css Always hide remove button if no value is selected (#744) 2019-11-12 12:29:34 +00:00