]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1857150: eg-fm-record-editor: support field-level help popovers
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 9 Apr 2020 15:24:04 +0000 (11:24 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Thu, 10 Sep 2020 20:36:02 +0000 (16:36 -0400)
commit775bd49fc11f71ce42d343c7624f9cd168e88d8f
treed1c99c594b79de0fddb576e89f080f95b32bc052
parent6a073abec3fcdb1d75ae58f81ba63d7ba40d8a72
LP#1857150: eg-fm-record-editor: support field-level help popovers

Add a new helpText field option to supply text for help popovers
that display next to the field label.

Example usage:

<eg-string #hostHelpStr text="EDI FTP or SCP server, including protocol. For example, ftp://ftp.example.org." i18n-text></eg-string>

<eg-fm-record-editor #editDialog
  idlClass="acqedi"
  [fieldOptions]="{
                    host: {helpText: hostHelpStr},
                  }"
</eg-fm-record-editor>

Sponsored-by: Evergreen Community Development Initiative
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.ts
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.module.ts