-
When a user lands on a page, we wish to show an informative dialog with a single button 'Continue' Something like the following sans the Cancel button: But in the alert-dialog component, both the buttons in the footer are marked as required. The second option is to use a Modal component which has more flexible footer. However the close icon on top-right is something we do no want. What would be the best way to move forward? Modal component without the close icon is ideal, but if not feasible what are the guidelines regarding using the primary button and the close button for same action, i.e. "continue" action? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Closing this discussion as there is a simple workaround of eliminating < ModalHeader > and adding the heading directly in the body |
Beta Was this translation helpful? Give feedback.
Thanks for the context! It's a bit of a confusing flow for the user to click on a link that they think will take them to one page (product page), but be taken to a different page instead (2FA page).
One option would be to re-work the flow just a bit. From the main/initial page, when the user clicks on the product link, instead of taking them to an unexpected page and showing the 2FA popup there, the button could trigger a Modal that explains why they would need to go to the 2FA page before the page they're attempting to navigate to, and why. The Modal would also contain a link to the 2FA page so that the user could go there intentionally.
If you'd like to talk about the flow more and brai…