Middleware
You can add a middleware to modify the behaviour of the inbuilt actions provided by Formst. For example, you can modify a form value by intercepting the setValue
action.
Formst exports addMiddleware from MobX state tree. You can refer to their documentation for detailed usage and API details.
#
UsageTo get all the available actions for a form model, refer to the source code.