Another newbie question -- I'm working on an inherited (from another developer) browser app that has a data entry form that can be used to either create a new request or edit an existing one. It uses the antd library for the various fields and I've been asked to modify the code so that when the user is editing an existing request, the Save button is disabled unless one or more of the fields has been changed. This makes sense but I'm concerned about keeping track of whether or not anything has changed. When the user is editing an existing request, I have access to the original data returned by a web service, so I could make use of each field's onChange method and compare it's current value with the original, but I'm hoping there's a better way. Any suggestions?
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)