Choices/src
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
..
icons Keep icons for future usage 2017-11-21 15:53:28 +00:00
scripts improve whole-page performance by scoping events handlers (#740) 2019-11-12 09:47:41 +00:00
styles Always hide remove button if no value is selected (#744) 2019-11-12 12:29:34 +00:00