slim-select: Setting data for disabled select does not show placeholder or selected option (if any)

maybe related to #60 Setting data for a disabled select: Options are rendered, but the selected option does not show up. Neither does the placeholder if no option is selected.

<div class="ss-single-selected ss-disabled">
    <span class="placeholder">{THIS IS EMPTY}</span>
    <span class="ss-deselect">X</span>
    <span class="ss-arrow"><span class="arrow-down"></span></span>
</div>

Unfortunately I cannot find a workaround for this either. Enabling, inistatiating and disabling gives the same result. Any other ideas to workaround this?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

This one was a tricky one! But i was able to fix it and also fixed the disabled deselect issue as well. v1.18.2