on 2021 Apr 06 1:31 AM
In Windows when I view a pop-up, one of the actions at the bottom of the pop-up is typically the default action (like "OK" or "Save"). Selecting a Windows Esc key on the keyboard cancels the pop-up, also in UI5, but I could not find a standard UI5 behavior for a "default pop-up action" and "Enter selects the default action".
Does this not exist, or did I just miss to find it?
I did see the accessibility-related pages describing tab orders.
Best, Oliver
Request clarification before answering.
Hello Oliver,
Its possible to handle the esc key . Once you load the fragment , add below pice of code
this._fnLoadFragment(sDialogKey).then((oDialog) => {
oDialog.setEscapeHandler(function (oExcpEvent) { oExcpEvent.reject(); }); // handle esc
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.