on 02-05-2024 9:06 PM
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.
Kind regards, Francisco.
Hi Francisco,
good question, so I did some research internally and I think I will not make you happy with the answer now but it states: "the property valueHelpOnly is deprecated, no replacement provided by UI5."
And I quote further:
"The reasons are linked to the proper accessibility state of the control, therefore we advise against its further use."
Best,
Edrilan Berisha
SAP S/4HANA Cloud Financials Development
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.