mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.79k stars 1.9k forks source link

Mantine min allows for negative inputs #7016

Closed owenmoogk closed 3 weeks ago

owenmoogk commented 3 weeks ago

Dependencies check up

What version of @mantine/* packages do you have in package.json?

7.13.2

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

Chrome

Describe the bug

In a mantine number input, set the min to 10. Then, type in "0-8". Notice how the field goes to -8, even though it shouldn't. image

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

rtivital commented 3 weeks ago

Duplicate of https://github.com/mantinedev/mantine/issues/7005