The ui5-user-settings-dialog is an SAP Fiori-specific web component used in the ui5-user-menu.
It allows the user to easily view information and settings for an account.
Defines whether the dialog offers Save and Cancel actions in its footer. When true, the footer renders a Save (Emphasized) and a Cancel button instead of the default Close button. Save and Cancel each fire a corresponding event; the application is responsible for closing the dialog (typically after persisting or discarding the changes).
Fired before the settings dialog is closed. Note: This event is cancelable via preventDefault(), allowing the application to keep the dialog open — for example, to prompt the user about unsaved changes before dismissal.
Fired when the Cancel button in the footer is clicked. The dialog does not close automatically — the application is responsible for closing it after discarding the changes.
Fired when the Save button in the footer is clicked. The dialog does not close automatically — the application is responsible for closing it after persisting the changes.
By default the dialog shows a single Close button in its footer and follows an implicit-save flow — changes are applied as the user interacts with each view.
Setting the saveMode property replaces the footer with Save (Emphasized) and Cancel buttons. Clicks fire the corresponding save and cancel events; the dialog does not close itself, so the application is responsible for persisting or discarding the changes and closing the dialog afterwards (typically after a successful backend call).