form.setFieldValue won't rerender a component?
Hello, I am a bit lost here. I am using Calendar and so I thought it would be easier to set its values with
form.setFieldValue()
The problem here is that when i set the values the Calendar state won't change?
I am using the custom use AppForm if that has any relation.
Also if I try to see the data with form.state.values I don't see them change also. ReactHookForms had something like form.watch()
I can see it console.log() but the state of calendar seems same.
1 Reply
ambitious-aquaOP•2mo ago
Ok so as always. As soon as I post here i magically manage to find the source to solve the issue.
So if anyone had the same issue. Here you can maybe find the answer
The key is with using this component.