Skip to content

Commit

Permalink
πŸ§‘β€πŸŽ“ close #10585 update controller value on each render (#10586)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Jun 24, 2023
1 parent 9815cd9 commit 27ac86d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/logic/createFormControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,10 @@ export function createFormControl<
});
_names.mount.add(name);

if (!isUndefined(options.value)) {
set(_formValues, name, options.value);
}

field
? disabledIsDefined &&
set(
Expand Down

0 comments on commit 27ac86d

Please sign in to comment.