is it possible to use form values as a useMemo dependency ?
so i have this
my problem is that the calculatedTotal doesn't update when a form value changes
and i just have a form with a the calculatedTotal in a div, and i need it's value to update when the user changes sendingMethod foe example.
2 Replies
metropolitan-bronze•8mo ago
You need useStore on form.state.values then it'll work
foreign-sapphireOP•8mo ago
thanks this worked wonderfully