You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should the default be? OK/Cancel (Windows) or Cancel/OK (Mac), runtime setting based on environment/etc?
Definitely don't change based on environment, it should be consistent. Otherwise you end up with different button order on desktop vs. phone for example which is disorienting.
The choice of order doesn't really matter much IMO. There are good arguments for both directions and neither really wins out.
I think the one thing that maybe tips it toward the Cancel/OK order is that when you have additional buttons in that row, the additional buttons go on the left, and then the Cancel and OK buttons are always in the same position. Minor point though.
BTW it sounds like having OkButton and CancelButton components would probably be a good idea here. Thin wrappers around Button but it would simplify the customization and ensure consistent application of i18n and so on.
BTW it sounds like having OkButton and CancelButton components would probably be a good idea here. Thin wrappers around Button but it would simplify the customization and ensure consistent application of i18n and so on.
That's interesting... and would make styling straight forward.
Currently components like
DateRangeField
andMultiSelectField
have OK/Cancel or Cancel/Apply buttons...They should be...
variant
/color
defaults?fill
/primary
, and Cancel (secondary) bedefault
/default
, and allow it to be configured insettings()
Related:
The text was updated successfully, but these errors were encountered: