What is the recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works?

What is the recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works?
A . Override and extend the autoComplete method in cc_hk_Catalog.
B . Override theautoComplete.search_input.minLength value in the CCRZ.uiProperties file
C . Override the autocomplete template and create and register a new handlebars helper.
D . Update the…minLength property in CC Admin, then build and activate a new cache.

Answer: B

Explanation:

The recommended method for increasing the number of required autocomplete characters that are typed before autocomplete works is to override the autoComplete.search_input.minLength value in the CCRZ.uiProperties file. This file contains various properties that control the behavior and appearance of the user interface components. The autoComplete.search_input.minLength property specifies the minimum number of characters that must be entered before the autocomplete feature is triggered. The default value is 3, but it can be changed to any desired value by overriding it in the CCRZ.uiProperties file.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, UI Properties

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments