-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Theme][Bootstrap4] Readonly attribute is not valid on select element #2616
Comments
Issue also present on
|
Interesting, can you make a PR to fix it?
…--
Ashwin Ramaswami
On Fri, Nov 19, 2021 at 6:01 AM Laussel Loïc ***@***.***> wrote:
Issue also present on
semanticUI :
https://github.com/rjsf-team/react-jsonschema-form/blob/79a61ff70c25f84ec3e989899ac7f92d1dd3e443/packages/semantic-ui/src/SelectWidget/SelectWidget.js#L113
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2616 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM4MX5AWTYIBDRIDKC3PDTUMYVBZANCNFSM5IL2ZRUA>
.
|
Lausselloic
added a commit
to Lausselloic/react-jsonschema-form
that referenced
this issue
Nov 19, 2021
Fixes rjsf-team#2616 disabled={disabled || readonly} instead of readonly attribute
8 tasks
8 tasks
Fixed in v5 beta via #3036 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Looks like there's a mistake on bootstrap4 select Widget that have been fixed in core. Readonly attribute have no effect on select element. So maybe like in core
react-jsonschema-form/packages/core/src/components/widgets/SelectWidget.js
Line 74 in 79a61ff
react-jsonschema-form/packages/bootstrap-4/src/SelectWidget/SelectWidget.tsx
Line 91 in 79a61ff
The text was updated successfully, but these errors were encountered: