You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mmkal Are you still willing to fix this? Some refactoring that was done in version 5 should make fixing this fairly simple. There is a new method in @rjsf/utils called getInputProps() that would be the place to add the fix. The code can be found in the rjsf-v5 branch until it is merged into the master branch when the v5 beta is published
Prerequisites
[ ] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.Description
[Description of the bug or feature]
Steps to Reproduce
{ "type": "string", "const": "something" }
Expected behavior
The
input
should have theconst
value already filled in, and havereadonly=true
Actual behavior
The
input
is just a regular textbox, and the user has to type the exact value ofconst
manually (without even a hint of what the value should be)Version
3.2.0
I'd be happy to open a PR to improve this if someone could point me in roughly the right direction.
The text was updated successfully, but these errors were encountered: