DSingh0304 commented on issue #3294:
URL: 
https://github.com/apache/apisix-dashboard/issues/3294#issuecomment-3895424439

   > Hi [@FrankLin8310](https://github.com/FrankLin8310), the old version of 
the dashboard is [no longer 
maintained](https://github.com/apache/apisix-dashboard/issues/2981). I just 
tried the reproduction steps in the new version, and it works normally.
   > 
   > Hi [@DSingh0304](https://github.com/DSingh0304), based on which version 
did you reproduce this problem?
   
   I originally noticed the pattern in the code (no defaultValues in useForm() 
+ shouldUnregister: true) and treated it as a potential issue based on the 
original report. I wasn't able to reliably reproduce the reset on the new 
dashboard so your finding is consistent with mine.
   
   The PR is more of a defensive improvement; it aligns with React Hook Form's 
recommended pattern for edit forms and adds E2E coverage for preserving 
pass_host. Happy to retitle it if you'd prefer it framed that way or we can 
close the issue.


-- 
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