minchars - Minimum Characters

Specifies the minimum characters that the user must type to trigger type ahead.

Category

basics

Syntax

minchars="n"
Where n is an integer.

Usage

In Design mode with focus on the parent control, click the Type Ahead tab under Properties and look for Minimum characters, or with focus on the typeAhead control click All Properties and look for minchars under basics.

The default is 1.

If you compute this value, return an integer.

Examples

This Edit Box control provides type ahead triggered by one character.
<xp:inputText id="inputText1" value="#{document1.subject}">
	<xp:typeAhead mode="full" minChars="1"
	valueList="alpha#beta#charlie#delta#echo#foxtrot"
	valueListSeparator="#" tokens=",/" ignoreCase="true">
</xp:typeAhead></xp:inputText>