diff --git a/src/useForm.ts b/src/useForm.ts index 29ed0c3e..0317bd29 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], {