mobx-react-form icon indicating copy to clipboard operation
mobx-react-form copied to clipboard

How to update file field if it was previously initialized

Open rosieks opened this issue 7 years ago • 1 comments

Hi, I'm trying to create form with file field. It works fine until I initialise it with default value. In such case it changing file stops working. Here is sample code: https://codesandbox.io/s/kwppx13zzv

It works fine if there is no init function called. But if it is then it stop working. To reproduce try to upload file.

rosieks avatar Dec 05 '18 10:12 rosieks

did you take a look at the demo repo?

foxhound87 avatar Feb 19 '19 18:02 foxhound87

The ‘init()’ method has been deprecated in the next releases

foxhound87 avatar Mar 12 '23 15:03 foxhound87