openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

OPA enhancement request: Trigger suggest event when use "EnterText" action to type text into "sap.m.input"

Open SherrySherry123 opened this issue 9 years ago • 3 comments

OpenUI5 version: 1.46.10 Browser/version (+device/version): Browser independent

Steps to reproduce the problem:

  1. "sap.m.input control" with showSuggestion=true ,which means suggest event will be triggered when user types in the input;
  2. Create one OPA test case to test the suggest event with "EnterText";

What is the expected result? Suggest event is triggered when use OPA "EnterText" action to type text into "sap.m.input".

What happens instead? Suggest event can not be triggered after "EnterText" because its focusout function with "this._simulateFocusout(oActionDomRef) ;".

Any other information? (attach screenshot if possible) Could you please help to do the enhancement to always trigger the suggest event when typing in the input.

SherrySherry123 avatar Aug 10 '17 10:08 SherrySherry123

Hi @SherrySherry123

I have created internal incident: 1780379833 for your request. The responsible colleagues will contact you if it's approved.

Kind Regards, Gery

gerym avatar Aug 10 '17 10:08 gerym

Starting with 1.67, the OPA EnterText action has a new flag keepFocus that can be used to keep the focus on the current element. If used with sap.m.Input, the suggested dialog is displayed and left for further interactions. Thanks for reporting.

ghost avatar Aug 20 '19 14:08 ghost

Enhancement was implemented with c2dc7de0fa122bf41d89c71094a83bc5cfc11f41 as of UI5 Version 1.67. Therefore closing the issue.

flovogt avatar Mar 25 '22 06:03 flovogt