Closed imprakharshukla closed 6 months ago
Hey! Awesome library, saves a bunch of time.
However, I am facing this issue while I am trying to display the photos selected by the user through a file input.
fieldConfig={{ images: { description: "Upload images", fieldType: "file", inputProps: { multiple: true, accept: "image/*", onChange: (e) => { console.log({ e }) }, } },
onChange is not getting fired on this or any other field. How can I fix this?
Have you tried to use onValuesChange on the AutoForm component directly?
onValuesChange
AutoForm
That's what I have resorted to use for now.
Hey! Awesome library, saves a bunch of time.
However, I am facing this issue while I am trying to display the photos selected by the user through a file input.
onChange is not getting fired on this or any other field. How can I fix this?