🚀 reset optional prop: keepDirtyValues (https://github.com/react-hook-form/react-hook-form/pull/8237)
reset(
{
firstName: "bill", // if firstName is dirty then the value will be retained
lastName: "luo"
},
{ keepDirtyValues: true } // keep any changed field
);
👩🔧 close https://github.com/react-hook-form/react-hook-form/issues/8324 auto-correct field array errors on user action ()