-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
shadcn
Version
6.1.0
Current Behavior
When focusOnFirstError is set, it is not scrolling up for radio widgets
Expected Behavior
Scroll up to where the error is
Steps To Reproduce
schema
{
"type": "object",
"required": [
"gender"
],
"properties": {
"gender": {
"type": "string",
"enum": [
"male",
"female"
]
},
"firstName": {
"title": "First name",
"type": "string"
},
"lastName": {
"title": "Last name",
"type": "string"
}
}
}
uiSchema
{
"gender": {
"ui:widget": "radio"
}
}
Environment
- OS: macOs
- Node: latest
- npm: pnpmAnything else?
No response