Helpers deciding when an OCR scan replaced a filled form field, so the UI can offer a one-level Undo that restores the pre-scan value.
List fields (tags, preparation, ingredient names) append on scan and are not undoable here; only fields whose value a scan overwrites are.
Helpers deciding when an OCR scan replaced a filled form field, so the UI can offer a one-level Undo that restores the pre-scan value.
List fields (tags, preparation, ingredient names) append on scan and are not undoable here; only fields whose value a scan overwrites are.