-
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?
daisyui
Version
6.0.0-beta.21
Current Behavior
with @rjsf/daisyui, when trying to use file widget as described in the wiki
https://rjsf-team.github.io/react-jsonschema-form/docs/usage/widgets#file-widgets
I get an error ''must be string"

Expected Behavior
This issue does not appear when using @rjsf/core. I get the expected results and am able to process the b64 encoded file in the submit handler.
Steps To Reproduce
- import { Form } from '@rjsf/daisyui'
- create a simple file widget like so https://rjsf-team.github.io/react-jsonschema-form/docs/usage/widgets#file-widgets
- try to submit a file
- get error 'must be string'
Environment
- OS: Ubuntu 25.04
- Node: 24.8.0
- pnpm: 10.17.0
- daisyui: 5.1.18
Anything else?
No response