I'm running a form with a type="file" (dropzone). Went through the example, and I've set up a Form class which extends MobxReactForm in which I have my onSuccess and onErrors methods. These give me access to the Form and gives me access to all of its properties and methods (https://foxhound87.github.io/mobx-react-form/docs/api-reference/form-methods.html)
Everything goes well. The .values() returns all the right values, except when I try to extrapolate the value of the file input. Is there some sort of special trick I'm missing, or isn't this possible?
Frontend (I've combined some files for readability (so don't mind the exports, haha):
Hi! Great work on the plugin!
I'm running a form with a
type="file"
(dropzone). Went through the example, and I've set up a Form class which extendsMobxReactForm
in which I have my onSuccess and onErrors methods. These give me access to the Form and gives me access to all of its properties and methods (https://foxhound87.github.io/mobx-react-form/docs/api-reference/form-methods.html)Everything goes well. The
.values()
returns all the right values, except when I try to extrapolate the value of the file input. Is there some sort of special trick I'm missing, or isn't this possible?Frontend (I've combined some files for readability (so don't mind the exports, haha):
Config: