LP#1857150: eg-fm-record-editor: add isDirty() method
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 Sep 2020 02:39:49 +0000 (22:39 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 8 Sep 2020 18:43:46 +0000 (14:43 -0400)
commitc9840a1f57afec2f0b01905d289ebf0330772045
tree009cabe6f225736afbd107062a1930b6605f7a82
parent54a4171f6aa4aa00d6fc64d06f15dea61f4db430
LP#1857150: eg-fm-record-editor: add isDirty() method

This adds an isDirty() method to the form that components embedding
an eg-fm-record-editor can use to check whether the form is
currently dirty.

NOTE: not all of the custom components that can show up on
      an fm-edit form currently implement component-level
      dirty checks.

Sponsored-by: Evergreen Community Development Initiative
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts