7

"Value help only" input in sap.m.Input type contro...

 7 months ago
source link: https://community.sap.com/t5/technology-q-a/quot-value-help-only-quot-input-in-sap-m-input-type-control/qaq-p/13595557
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

"Value help only" input in sap.m.Input type control

Hello ui5 devs, 

I have a requirement in which I need to disable direct input in sap.m.Input type fields, users should only be allowed to select values from its Value Help Dialog.

In the past, this was achieved by using the "valueHelpOnly" property, or the "setValueHelpOnly" method to do it programatically. But both of these were deprecated recently, and the documentation doesn't specify if these were improved on or replaced by other functionalities.

The deprecated property achieves exactly what we need to do so we'll keep using it for now, but it would be nice to understand why it was deprecated in the first place and if the UI5 team provided us with a better option instead.

FranciscoAcua_1-1707166953108.png

FranciscoAcua_2-1707166976669.png

Kind regards, Francisco.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK