Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Adjust confirmation dialog event response #1329

Closed
Blackbaud-SteveBrush opened this issue Nov 30, 2017 · 0 comments
Closed

Adjust confirmation dialog event response #1329

Blackbaud-SteveBrush opened this issue Nov 30, 2017 · 0 comments
Assignees

Comments

@Blackbaud-SteveBrush
Copy link
Member

The result of the dialog returns the text of the button clicked instead of some hard-coded string literal you specify. This makes sense on the surface, but when you throw localization into the mix, you'll find that the predefined Yes, No, and Cancel buttons will be localized so you'll have to compare against a localized string of those values which exist within SKY UX's resource files. This means for the normal case, you'll have to have your own resource strings for Yes, No, and/or Cancel, grab that value from the resources service, then use it to compare against the result instead of the ideal scenario where you'd just compare against a hard-coded value like 'yes'. Changing this would be considered breaking changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant