SIGN IN SIGN UP

fix(client): use section-level dirty tracking instead of form-level isDirty

- Add lastSavedRef and isSectionDirty to useSectionForm hook
- isSectionDirty compares current values against last saved snapshot
  via shallowEqual, immune to server normalization after reconciliation
- CV and Questionnaire wizards: use isSectionDirty in goToStep instead
  of form-level isDirty; remove unnecessary form.reset(form.state.values)
- Employee profile: use isSectionDirty in handleTabChange
- Prevents spurious save-on-tab-switch when server normalises values
Q
qorbanisepehr committed
5d7eff79298a3050f50d9c9e0351284c1b5c5ba4
Parent: 4c7f6c6