Richard Všianský

Results 24 comments of Richard Všianský

@zgover So, you want to have a separate "validation engine" based on the DDF schema to use outside the form renderer, right? This sounds like an interesting idea! 🤔

@zgover Yeah, I will take a look on it today. And it would be a definitely just an addition, so we can release it asap.

@zgover Hello, the standalone validation has been released, you can check it here: https://data-driven-forms.org/utilities/standalone-validation

![error](https://user-images.githubusercontent.com/32869456/79358650-c43aa180-7f41-11ea-98a6-39f7bec13329.gif)

The error occurred after updating React Final Form to 6.0.0 https://github.com/final-form/react-final-form/releases?after=v6.1.0

Current workaround until a fix in FF is released: ```jsx import { useEffect } from 'react'; import PropTypes from 'prop-types'; import useFormApi from '@data-driven-forms/react-form-renderer/dist/cjs/use-form-api'; const ValidatorReset = ({ name })...

@yhrchan I can provide some information. Yes, there is probably still a lot of work to do on the dnd-kit branch but we got the most important thing to work...

This error appears when entering the step with the async validate: ``` Uncaught (in promise) TypeError: Cannot read property 'active' of undefined at publishFieldState (final-form.es.js:181) at notifyField (final-form.es.js:734) at notifyFieldListeners...

@Chrisdo82 Not a great workaround (actually it's a terrible one :smiley:), but after the unregistering the field with a async validation we trigger `form.change('nonsense', 'nonsense')` in a timeout to rerender...