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
I don't know that much about mobx-state-tree but I doubt it would work. mobx-schema-form is a wrapper around react-schema-form/lib/utils selectOrSet() which expects a plain object whose properties can be updated.
It might be possible to modify mobx-schema-form to check for 'getter' and 'setter' properties on data and dataErrors objects and, if present, invoke them instead of selectOrSet(). These functions would have to understand how to parse the nested object/array string syntax produced by https://www.npmjs.com/package/objectpath if you want them to work on non-flat data objects.
Would this work with MobX state tree?
If not, I'd like to have a go at it...
The text was updated successfully, but these errors were encountered: