We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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/core": "^6.0.19", "@mantine/dates": "^6.0.21", "@mantine/dropzone": "^6.0.21", "@mantine/form": "^6.0.21", "@mantine/hooks": "^6.0.19", "@mantine/notifications": "^6.0.21" }
package-lock.json:
{ "node_modules/@mantine/core": { "version": "6.0.21" }, "node_modules/@mantine/dates": { "version": "6.0.21" }, "node_modules/@mantine/dropzone": { "version": "6.0.21" }, "node_modules/@mantine/form": { "version": "6.0.21" }, "node_modules/@mantine/hooks": { "version": "6.0.21" }, "node_modules/@mantine/notifications": { "version": "6.0.21" } }
@mantine/core
Vite
Chrome
PinInput required attribute is not added to input elements, instead it's added to the parent .mantine-PinInput-root element.
.mantine-PinInput-root
I'm actually using 6.x.x but 7.x.x has it too.
https://codesandbox.io/p/sandbox/pensive-haze-k5n3n3?file=%2Fsrc%2FApp.tsx
No response
yarn
The text was updated successfully, but these errors were encountered:
I noticed that the required prop is no longer available in version 7, yet it's really helpful for HTML5 based form validation.
required
Sorry, something went wrong.
[@mantine/core] PinInput: Allow passing props to individual input ele…
ebe8b0e
…ments depending on index with `getInputProps` (#6588)
Will be available with next patch:
<PinInput getInputProps={() => ({ required: true })} />
Fixed in 7.12.1
No branches or pull requests
Dependencies check up
What version of @mantine/* packages do you have in package.json?
package-lock.json:
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
PinInput required attribute is not added to input elements, instead it's added to the parent
.mantine-PinInput-root
element.I'm actually using 6.x.x but 7.x.x has it too.
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/pensive-haze-k5n3n3?file=%2Fsrc%2FApp.tsx
Possible fix
No response
Self-service
I'm stuck at the
yarn
step so I can't implement a fixThe text was updated successfully, but these errors were encountered: