react-tailwindcss-select icon indicating copy to clipboard operation
react-tailwindcss-select copied to clipboard

Multiple Select is not working

Open sc0rp10n-py opened this issue 2 years ago • 7 comments

This is what I see when I do isMultiple={true} image

placeholder gets hidden, and stops working then when i click on it to select, then nothing works

I am also not even getting any errors

sc0rp10n-py avatar Mar 08 '23 17:03 sc0rp10n-py

Hi @sc0rp10n-py 👋

Thanks for using this package and thanks for your feadback.

Can you give us more information to help us identify the problem.

onesine avatar Mar 08 '23 17:03 onesine

@onesine i did this in my code

<Select
    id="faculty"
    name="faculty"
    required
    value={faculty}
    onChange={handleChange}
    isSearchable={true}
    isClearable={true}
    // isMultiple={true}
    // classNames={{
    //     menu: "bg-black rounded text-white w-full",
    //     list: "bg-black rounded py-2 px-4 text-white w-full",
    //     option: "bg-black rounded py-2 px-4 text-white w-full",
    //     tagItem: "bg-black rounded py-2 px-4 text-white w-full",
    // }}
    placeholder="Select the faculty name"
    options={facultyList}
/>

i was not able to change the bg to black either

and when i set isMultiple={true} then the select option gets like the image i shared above

sc0rp10n-py avatar Mar 09 '23 04:03 sc0rp10n-py

Which version are you using? I am using the same options as you on the latest version and I have no problem. I can't reproduce the bug you have. The id, name and required options are not available at the moment.

onesine avatar Mar 09 '23 07:03 onesine

@onesine I was using 1.8.0 but now i updated to 1.8.5, but still I get the same issue

sc0rp10n-py avatar Mar 11 '23 14:03 sc0rp10n-py

@onesine any updates on this?

sc0rp10n-py avatar Mar 22 '23 04:03 sc0rp10n-py

@onesine any updates on this?

I also had the same issue on my code, I was trying to find a solution here. The issue for me was that I was setting the value to an empty. I changed value to null during debugging and the placeholder appeared again, you could give it a try.

tiago-pinto avatar Apr 17 '23 13:04 tiago-pinto

Hello

Thank you for your feedback. We will correct this very quickly.

onesine avatar Apr 20 '23 10:04 onesine