Fix compatibility with latest version of @hookform/resolvers
#11186
+112
−27
@hookform/resolvers
#11186