angular-dialog-service
angular-dialog-service copied to clipboard
order of buttons in confirm dialog
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.
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.
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/
I think cancel should be the default. That way no harm can be done with those who are just hitting the enter key..