From 6debb415c20ea8ed4902c7e7a9c3bbe6612b815d Mon Sep 17 00:00:00 2001 From: Lansana DIOMANDE Date: Thu, 18 Jan 2024 14:54:21 +0000 Subject: [PATCH] refactor(useForm): trigger callback function when setFieldValue --- src/useForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useForm.ts b/src/useForm.ts index 29ed0c3e3..0317bd294 100644 --- a/src/useForm.ts +++ b/src/useForm.ts @@ -578,7 +578,7 @@ export class FormStore { // Value if ('value' in data) { - this.updateStore(setValue(this.store, namePath, data.value)); + this.updateValue(namePath,data.value) } this.notifyObservers(prevStore, [namePath], {