Bug #819
openHospital letterhead's live preview doesn't update until you save and reload the page
0%
Description
Where: Admin -> Documents -> Hospital letterhead
How bad: Medium -- this is a mismatch with how the feature is supposed to work (described as a "live preview"), though no data is actually lost -- saving still works correctly.
Where tested: nssh.test.clinq.health, San Jose St. Bonaventure Hospital
What I did:
- Opened the Hospital letterhead settings page.
- Changed the Subtitle text field to a new value, without clicking Save.
- Clicked the "Refresh preview" button to see if the preview would update to show my new text. Tried this both right after typing, and after clicking away from the field first.
What should happen: The preview next to the form is supposed to show your changes right away, even before you save -- so you can see what it'll look like before committing to it.
What actually happens: The preview never updates to show the new text I typed, no matter how many times I click "Refresh preview." It just keeps showing whatever was last saved. The only way to get the preview to catch up is to actually click Save, and then reload the whole page.
How often it happens: Happened every time -- tried it twice with two different subtitle texts, same result both times.
Good news: The actual Save function works fine -- your changes do get saved correctly and show up correctly after a reload. It's only the "see it before you save it" live preview part that's broken.
No data to display