type
The input field type.
type: UITextField.InputType | string;
Notes
- Defaults to
text. - Accepted values are platform dependent; common values include
text,password,email,url,tel, andsearch. - For numeric input, the
numbertype often changes alignment and adds spinner controls; usenumericordecimalwith the web renderer to control the keyboard type without changing the input’s appearance.
Related
class UITextField
A view class that represents a text field control.
