8.8 released—CSS Media Query support, SF Symbols and much more...
Learn more
Represents an editable text field.

Summary

Constructors

constructor

Properties

android
closeOnReturn
ios
returnPressEvent
secure
secureWithoutAutofill
182 properties inherited from EditableTextBase
Click to expand

Methods

_updateAttributedPlaceholder
114 methods inherited from EditableTextBase
Click to expand

Constructors

constructor

new TextField(): TextField

Properties

android

android: any
Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS.

closeOnReturn

closeOnReturn: boolean
Gets or sets if a text field should dismiss on return.

ios

ios: any
Gets the native iOS [UITextField](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/) that represents the user interface for this component. Valid only when running on iOS.

secure

secure: boolean
Gets or sets if a text field is for password entry.

secureWithoutAutofill

secureWithoutAutofill: boolean
iOS only (to avoid 12+ auto suggested strong password handling)

returnPressEvent

Static
returnPressEvent: string

Methods

_updateAttributedPlaceholder

_updateAttributedPlaceholder(): void
iOS only update placeholder attributed text style
Returns void
Previous
TextBase