Official Content

Defines whether to suggest possible values when entering data and how.

Values

No No suggestion list is shown.
OnRequest The user manually makes a request to calculate suggestions.
Incremental The list is updated as the end user enters data.

Scope

Generators: .NET, .NET Framework, Java, Android, Angular, Apple
Controls: Attribute/Variable (Control Type: Edit)

Description

The Suggest property applies to Edit controls.

It can be set for attributes in Transaction objects, as well as for variables in Web Panel objects and Panel objects, respectively.

It can only be used over attributes or variables based on the Character or VarChar data types. Otherwise, the following specification error will be shown:

spc0112 ("Item value %1 for control %2 must be Character data type or VarChar data type")

Enabling the Suggest property will cause a list of possible values for that control to be displayed when entering data.

The suggestions list can be calculated:

  • In an incremental way: The list is updated as the user enters data.
  • By making requests: The end user manually makes a request to calculate suggestions.

List updates are asynchronous and calculation times depend on the quality of the connection.

The Suggest property can be set specifically for a certain Attribute/Variable control (with its Control Type property set to "Edit") or at the attribute level. If it is applied to an attribute, the Suggest property will be enabled by default everywhere the attribute is used. This property is independent of the InputType property. However, it is advisable to read the InputType property documentation first because using both properties will make it easier to create user-friendly interfaces. Read more about how these features can work together.

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Build with this Only of the object.

Availability

This property is available since GeneXus X Evolution 3.

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant