Commit Graph

4 Commits

Author SHA1 Message Date
Aibo117 6c0944d6f2 fix: add form validation error feedback in agent edit dialog
- Add onFormError callback to show toast when validation fails
- This helps debug why the save button appears to do nothing
2026-05-26 14:08:14 +08:00
Aibo117 3c39e3b7e1 fix: use handleSubmit directly instead of form requestSubmit
Bypass potential React portal form resolution issues by calling
react-hook-form handleSubmit(onFormSubmit)() directly in the
button onClick handler.
2026-05-26 14:07:06 +08:00
Aibo117 58a10c3217 fix: agent profile save button not working
- Replace form attribute with ref-based form submission to avoid
  potential portal-related form resolution issues in base-ui Dialog
- Add null guard for fetchUsersAll return value to prevent crash
  when API returns null data
2026-05-26 14:04:39 +08:00
mlogclub a9275c2d4a 调整目录 2026-04-24 12:01:30 +08:00