angular-dialog-service icon indicating copy to clipboard operation
angular-dialog-service copied to clipboard

order of buttons in confirm dialog

Open Archelyst opened this issue 10 years ago • 3 comments
trafficstars

I'm used to have the "OK" button on the very right of a dialog, the "cancel" on its left. Right now the template for the confirm dialogs is the other way round. Also the "cancel" button is highlighted (.btn-primary) which is really counterintuitive. I'd expect the highlighted button to trigger an action, not the regular restrained button.

Archelyst avatar Mar 04 '15 09:03 Archelyst

I will take this into consideration. Not sure I want to highlight the OK button as primary seeing that if a person makes a mistake you don't want to be confirm the mistake as default. Hmmm, IDK, I'll think about it.

m-e-conroy avatar Jun 10 '15 19:06 m-e-conroy

I also would like to at least exchange the styling to "yes" being the selected option (btn-primary) instead of the "no" option. As a decision aid I would suggest this link: http://www.nngroup.com/articles/ok-cancel-or-cancel-ok/

miszou avatar Jul 17 '15 12:07 miszou

I think cancel should be the default. That way no harm can be done with those who are just hitting the enter key..

niemyjski avatar Jul 17 '15 15:07 niemyjski