issues
search
onesine
/
react-tailwindcss-select
Tailwind Select Component for React.js
https://demo-react-tailwindcss-select.vercel.app/
MIT License
183
stars
38
forks
source link
Truncate
#59
Open
wahid2511
opened
5 months ago
wahid2511
commented
5 months ago
truncate label or placeholder not working
`
`Unit
`
( `flex text-sm p-1 max-w-64 text-gray-500 border border-gray-400 rounded-md shadow-sm transition-all duration-300 focus:outline-primary ${ isDisabled ? "bg-gray-200" : "bg-white hover:border-gray-400 focus:border-primary focus:ring focus:ring-primary/20" }` ), list: 'flex flex-col gap-y-1.5 overflow-auto' }} primaryColor="purple" placeHolder="Set Option" value={data.pilihMultiSatuan} onChange={(item) => { this.handleChangeSelect(id, item); }} options={ dataOption != null ? dataOption .map((item) => ( { key: item._id, value: item._id, label: item.name, } )) : "" } isClearable />
` when label or placeholder too long and container has small text not elipsis ![not elipsis](https://github.com/onesine/react-tailwindcss-select/assets/103483266/753d2569-a7d1-4c4e-8175-03b7de6e0377)
truncate label or placeholder not working
`