#I’m trying to implement Select component without rightSection

4 messages · Page 1 of 1 (latest)

raven matrix
#

Just like NumbeInput has hidecontrols im trying to make the select component to take full width without rightSection. When I pass rightSection={<></>} and rightSectionWidth={0} still the width is present of right section . Is there a way for this ?

sage wharf
#

can't you just pass null into the rightSection?

raven matrix
#

No, if we pass null we get error as it expects react component

raven matrix
#

I already tried rightSectionWidth={0}
the issue is the chevrons are not visible but the allocated width is still taken by them within input tag borders