Class Suggestions
Suggested values that users can enter. These values appear when users click inside the text input field. As users type, the suggested values dynamically filter to match what the users have typed.
For example, a text input field for programming language might suggest
Java, JavaScript, Python, and C++. When users start typing Jav
, the list
of suggestions filters to show Java
and JavaScript
.
Suggested values help guide users to enter values that your app can make
sense of. When referring to JavaScript, some users might enter javascript
and others java script
. Suggesting JavaScript
can standardize how users
interact with your app.
When specified, TextInput.type
is always SINGLE_LINE
, even if it's set
to MULTIPLE_LINE
.
Implements
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class Suggestions : IMessage<Suggestions>, IEquatable<Suggestions>, IDeepCloneable<Suggestions>, IBufferMessage, IMessage
Constructors
Suggestions()
Declaration
public Suggestions()
Suggestions(Suggestions)
Declaration
public Suggestions(Suggestions other)
Parameters
Type | Name | Description |
---|---|---|
Suggestions | other |
Properties
Items
A list of suggestions used for autocomplete recommendations in text input fields.
Declaration
public RepeatedField<Suggestions.Types.SuggestionItem> Items { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Suggestions.Types.SuggestionItem> |