Value not getting reset during reset of form
In this code
May be I am resetting this form all the values are getting reset but the value of swt_culture_type
is not getting reset.
I may be resetting the value of the form in React, but all the values are getting reset, not just one value
In this code
May be I am resetting this form all the values are getting reset but the value of swt_culture_type is not getting reset.
Using same components in a page cause bugs in Next.js
I use Next.js latest version. I have a component called “InputMedia”. I use this component 3 times in a page with different props. My problem is: State update is always being done by the first component’s information. Even though I click 3rd component always the first component’s state changes. I tried to send type as a prop, didn’t work. I tried to send important things as arguments didn’t work again.