#<Input> on <DatePicker>
2 messages · Page 1 of 1 (latest)
<Input.Wrapper><DatePicker/></Input.Wrapper>
2 messages · Page 1 of 1 (latest)
Mostly of Mantine components are already wrapped on an Input component (that is why we have access to errors, if I'm not mistaken). But this is not the case for DatePicker.
My question is: the best way to add the error prop to a DatePicker is to use the Input.Wrapper?
Would this "be the Mantine way" ?
<Input.Wrapper><DatePicker/></Input.Wrapper>