The typeahead property indicates that
the input controls that are bound to a field will use JSF type-ahead.
Input controls with type-ahead present a list of options based on
the first few characters that the user types into the control. Then,
the user can select one of these options or continue typing different
text.
If you set
typeahead to YES, you must
also specify either the
validValues or the
validatorDataTable property,
but not both.
- If you specify validValues, EGL compares
the specified valid values with the current text in the input control
and uses the matching values as options for type-ahead. When using
type-ahead with a list of valid values, the valid values cannot contain
a range.
- If you specify validatorDataTable, EGL
compares the values in the first column of the Data Table with the
current text in the input control and uses the matching values as
options for type-ahead. Data Tables used with type-ahead must be of
the type MatchValidTable.
For a more powerful way of specifying the options to be used with
type-ahead, see typeaheadFunction.
You cannot specify both typeahead and typeaheadFunction on
the same field.
You can assign one of the following values to the property:
- NO (the default)
- JSF type-ahead is not used on input controls bound to the field.
- YES
- JSF type-ahead is used on input controls bound to the field.