Patch Changes
-
#4576
9a895ea39dc
Thanks @alicanerdurmaz! - fixed:handleSubmitReactHookForm
now returns a Promise without awaiting it.
With this change, unhandled errors will propagate to the caller. -
#4527
ceadcd29fc9
Thanks @salihozdemir! - fix: prioritization of forgottenidentifier
If
identifier
is provided, it will be used instead ofname
.import { useModalForm } from "@refinedev/react-hook-form"; useModalForm({ refineCoreProps: { resource: "identifier-value", }, });
fix: use translate keys with
identifier
Previously, the translate keys were generated using resource
name
. This caused issues when you had multipleresource
usage with the same name. Now thetranslate
keys are generated usingidentifier
if it's present.