Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate #59

Open
wahid2511 opened this issue Mar 25, 2024 · 0 comments
Open

Truncate #59

wahid2511 opened this issue Mar 25, 2024 · 0 comments

Comments

@wahid2511
Copy link

wahid2511 commented Mar 25, 2024

truncate label or placeholder not working

<div className="w-full"> <div className="font-bold"> Unit<Select placeholder='Set unit..' classNames={{ menuButton: ({isDisabled}) => (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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant