Get input type
formInput.getInputType()
Retrieves the HTML type of a FormTextInput field.
Supported element:
FormTextInput
Syntax
Returns
A Promise resolving to a string or null
Returns the HTML type of the FormTextInput element ('text', 'email', etc.). Returns null if the type isn’t found.