Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@mantine/dates] DateRangerPicker does not respect readOnly property #3089

Closed
joelzwarrington opened this issue Dec 1, 2022 · 1 comment
Closed
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@joelzwarrington
Copy link
Contributor

What package has an issue

@mantine/dates

Describe the bug

The DateRangerPicker does not support read only mode and is still editable.

I will note that the disabled property works as expected.

<MantineProvider withGlobalStyles withNormalizeCSS>
  <DateRangePicker label="The date" readOnly />
</MantineProvider>

What version of @mantine/hooks page do you have in package.json?

5.8.4

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/inspiring-platform-tdgmmq?file=/src/App.tsx

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No

Possible fix

No response

@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Dec 12, 2022
rtivital added a commit that referenced this issue Dec 12, 2022
@rtivital
Copy link
Member

Fixed in 5.9.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants