update switch on api response
Hello !!
I'm currently using refine to make an app and i have a from in which i set every field with
I'm currently using refine to make an app and i have a from in which i set every field with
register but i have a switch which is not updating even if the value from react hook form is correct. For the other mui component ( Textfiled, select ...) i do not have to create a state to have the correct value in the field but the switch is not working. Should i make a state for switch only ?