The RfDialogManager
adds support to show common modals like those in JavaScript:
window.alert
,
window.confirm
, and
window.prompt
.
When to Use
Use RfDialogManager
when there is a need to ask or tell the user something straight forward.
For example:
- Confirm when confirming an item should be deleted.
- Prompt when asking the user for a simple comment in during a saving process.
- Alert when you want to make sure they read something and would like it to be confirmed before going forward.
- Multi Action when you need to present the user with more than two choices, such as "Save", "Don't Save", or "Cancel", allowing for more complex decision flows than a simple confirm dialog.
When not to Use
RfDialogManager
is a helpful and easy to use tool but there are several instances of when it would be better to create a custom modal.
Such cases as:
- When you need validation beyond requirement.
- Need an edit form.