solid-multiselect
solid-multiselect copied to clipboard
Custom Close Icon for multiselect
Hi,
Would it be possible to add customCloseIcon when you render multi selects?
Eg, instead of:
<Show when={( singleSelect || showArrow )}>
<img class="icon_cancel icon_down_dir" src={DownArrow} />
</Show>
Do something like:
<Show when={( singleSelect || showArrow )}>
<Show when={!props.customCloseIcon}
fallback={() => <i class="custom-close">{props.customCloseIcon}</i>}>
<img class="icon_cancel icon_down_dir" src={closeIconType()} />
</Show>
</Show>
It's not strictly a close Icon, more of a down icon now. But I think you get what I mean.
Thanks