-
Is it possible to make DateTimePicker open on the click of an icon? I am using leftSection prop to add a calendar icon to the input but I'm not sure how to make the picker open up on click of the icon |
Beta Was this translation helpful? Give feedback.
Answered by
rtivital
May 10, 2024
Replies: 1 comment 3 replies
-
onClick={() => inputRef.current?.inputElement?.click()} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://codesandbox.io/p/sandbox/mantine-react-template-forked-zm4lz6?file=%2Fsrc%2FApp.tsx%3A5%2C10