textFieldVariant
A set of flags that determine the text field’s (internal) visual style.
textFieldVariant: Record<string, boolean | undefined>;
Notes
- The variant can be set using
UI.TextField()builder methods, e.g. ghost(). Setting custom variants directly using textFieldVariant() is possible, but not encouraged. - When updating the variant at runtime, always set this property to a new object rather than mutating the existing object.
Related
class UITextField
A view class that represents a text field control.
