'react-hook-form custom resolver extend default one

I have a custom resolver that contains async validation checks for multiple fields. My checks work, but the problem is that the default rules are ignored. How can I extend the default resolver with my own custom additions?

In the documentation it says A resolver cannot be used with the built-in validators (e.g.: required, min, etc.). What should I do then?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source