Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The TextInputElement class is used to create a text input element in a user interface.

Parameter

NameTypeDescription
elementIdstringUsed to set unique Id for the element
labelstringUsed to set a label for the element
defaultValueStringUsed to set the default value for the element
optionalboolUsed to set an optional flag for the element
placeholderTextInputPlaceholderUsed to set placeholder for the element
maxLinesintUsed to set max lines for the element

Usage

How to create an instance of the TextInputElement class:
let textInputElement = TextInputElement()
textInputElement.elementId = "name"
textInputElement.label = "Enter name "
textInputElement.optional = false