If we select more than 1000 items in the value help then we get this ui5 warning message from sap.ui.comp library. Is there any way we can override the message?
I want to override this message with some other more relevant message, how can we achieve that?
The warning message is raised due to the restriction of the used framework. It is a required functionality to avoid performance and memory problems. This is a standard system behavior.
Reference: SAP KBA 3526417 - Warning message "Your selection might lead to a large number of selected items."
The translation key names are VALUEHELPDLG_SELECTIONFAILEDLOAD
and VALUEHELPDLG_SELECTIONFAILEDLOADTITLE
according to the smart control (sap.ui.comp
) lib's messagebundle*.properties
: e.g. https://ui5.sap.com/resources/sap/ui/comp/messagebundle_en.properties.
Your selection might lead to a large number of selected items. This might take a while and affect the performance of the application. Do you want to continue?
The smart control lib, however, does not allow customization of the warning text directly. Since sap.ui.comp
is not part of OpenUI5 either, you'll need to submit your feature request via Customer Influence.