Default value error or problem with State
Hello, everyone! Please help me.
I prepared this code and provided it with data without any issues, but for some reason, it's not working. If I remove the category_id error written inside beforeFill, it starts working, but when it's present, the data doesn't appear, only the default value. I thought there was a problem only with the default value, but it seems there's an issue with the state.
EditProducts
2 Replies
If you want to modify data before it is filled, you should use mutateFormDataBeforeFill
Everything looks great, thank you so much!