suryaparua-official commented on PR #3274:
URL: 
https://github.com/apache/apisix-dashboard/pull/3274#issuecomment-4004749857

   I also tested enabling `shouldUnregister: true` in `useForm` during local 
testing, and it removed the stale `oneOf` fields when switching variants.
   
   It seems this behavior may be related to React Hook Form keeping unmounted 
fields in form state by default.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to