Unsaved

Warns the user before leaving the page when the bound value or a check function reports unsaved changes

Live preview

Open in new tab ↗
  • easy usage
  • path optional, can contain a link to the Boolean value, true will display a confirmation message

Configuration:

  • check {String} a link to the check function() { that must return Boolean -> true will display a confirmation message (it's synchronous)
  • message {String} a message for the user (it may not work with most browsers because they have their own messages)

More UI components

Browse all 348