hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component

Home Page:https://codesandbox.io/s/react-multi-select-example-uqtgs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"labelledBy" prop does not change the placeholder

usaidsherwani opened this issue · comments

Hi, I am using react-multi-select-component 4.2.4 and I am facing an issue that when I try to change the placeholder by given prop "labelledBy" it does not change the output. It always shows the default placeholder which is "select...".

When I inspect on browser I saw there is a <span class="gray">Select...</span> which always trigger and ignore whatever value I set in prop "labelledBy". I have attached a screenshot as well in which my "aria-labelledBy" value is "select badgeeeee".

dropdown

I'm also facing the same issue. Let me know once it's fixed.

Duplicate of #429

@usaidsherwani @SherothKar please see below answer

#429 (comment)

Duplicate of #429

@usaidsherwani @SherothKar please see below answer

#429 (comment)

Oh! thank you so much. It solved the problem :D :D

Thank You! ✌️