Remove Right-Side Icon for {Select} Component #7287
dreamjet31
started this conversation in
Feature requests
Replies: 3 comments 1 reply
-
You can do that with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you @rtivital |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you @rtivital , but I am still facing issues in mobile devices <td className="p-3 w-[120px]">
<Select
size="md"
className="w-full"
value={shift.lunchBreak?.toString()}
rightSection={<span />}
onChange={(value) => {
if (value) {
handleShiftUpdate(index, 'lunchBreak', Number(value));
}
}}
data={[
{ value: '0', label: '0m' },
{ value: '30', label: '30m' },
{ value: '45', label: '45m' },
{ value: '60', label: '60m' },
]}
/>
</td> This component appears as follows on mobile devices: Issues Identified:
Could you advise on how to resolve these issues? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I am using the
{Select}
component from Mantine and would like to have an option to remove the right-side dropdown icon. Currently, it seems that the icon is always rendered, and I couldn't find a prop to disable or hide it in the documentation.Proposed Feature
Introduce a prop (e.g.,
hideIcon
oricon={null}
) to allow developers to remove the dropdown icon when it's not needed.Use Case
This would be helpful for scenarios where:
Additional Information
Here’s an example of how it could look:
Thank you for considering this feature request! Let me know if there's already a way to achieve this that I may have missed.
Let me know if you’d like further refinements before submitting!
Beta Was this translation helpful? Give feedback.
All reactions