Replies: 2 comments
-
I do not see a reason to add this feature. It is very rarely used but it requires significant efforts to implement and maintain. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I understand the importance of maintaining the code, so if this is the decided approach, that's fine. Thanks for your insight. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mantine has helped me reduce the cost of UI development, thank you. I am writing to provide feedback and ask a question about parts where the compatibility with TypeScript seems low.
As the title, why is the value type passed as an argument to the onChange handler fixed as a
string
? This problem is seen with likeSegmentedControls
,MultiSelect
, etc. I'm implementing the my-handlers with exact types, so having to cast the value in every implementation is very cumbersome.The onChange handler should be able to infer the type based on the
data
props, so I am genuinely curious why it is not implemented that way.(This is not an urgent discussion 👐 )
Beta Was this translation helpful? Give feedback.
All reactions