Skip to content

Conversation

@kb019
Copy link

@kb019 kb019 commented Feb 26, 2025

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • My work includes tests or is validated by existing tests.

Summary

The React Form Engine expects a promptBeforeClosing function and is determined to check whether the form is dirty. Since this is mostly used in workspaces where we launch clinical forms in patient chart, i have made the function to return undefined here.

Screenshots

Before
image
After
image

@kb019
Copy link
Author

kb019 commented Feb 26, 2025

@samuelmale , Can you please provide your feedback on this. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant