Search code examples
react-final-formfinal-form

Stop a Decorator on React Final Form


How do you stop a decorator after it has been passed to the Form from react-final-form? I want to stop the field from being auto calculated if the field is touched and changed.


Solution

  • That's not currently possible. You might have to make your own version of final-form-calculate. Or try to engineer it into final-form-calculate and submit a PR.