Suggestion Display Mode
9 Aug 20161 minute to read
The AutocompleteMode
property is used to decide the suggestion pattern for displaying the filtered data according to the text entered. The different types of pattern are described below
-
Suggest
-
Append
-
Suggest and Append
NOTE
The default option is suggest mode.
Append
Append - Appends the first matching string with the entered character.
countryAutoComplete.AutoCompleteMode=SFAutoCompleteAutoCompleteMode.SFAutoCompleteAutoCompleteModeAppend;
Suggest in Dropdown
Suggest - Displays the suggestion in the dropdown.
countryAutoComplete.AutoCompleteMode=SFAutoCompleteAutoCompleteMode.SFAutoCompleteAutoCompleteModeSuggest;
Both Append and Suggest in DropDown
SuggestAppend - Displays the suggestion in the dropdown along with appending the first matching string.
countryAutoComplete.AutoCompleteMode=SFAutoCompleteAutoCompleteMode.SFAutoCompleteAutoCompleteModeSuggestAppend;