Classes
TextField
TextField
Represents an editable text field.
Summary β
Constructors
Properties
182 properties inherited from EditableTextBase
Click to expand
- _androidContentDescriptionUpdated
- _automaticallyAdjustsScrollViewInsets
- _closeModalCallback
- _context
- _cssState
- _defaultPaddingBottom
- _defaultPaddingLeft
- _defaultPaddingRight
- _defaultPaddingTop
- _domId
- _ignoreFlexMinWidthHeightReset
- _isAddedToNativeVisualTree
- _isLayoutValid
- _isPaddingRelative
- _isStyleScopeHost
- _oldBottom
- _oldLeft
- _oldRight
- _oldTop
- _styleScope
- _suspendNativeUpdatesCount
- accessibilityBlurEvent
- accessibilityFocusChangedEvent
- accessibilityFocusEvent
- accessibilityHidden
- accessibilityHint
- accessibilityIdentifier
- accessibilityLabel
- accessibilityLanguage
- accessibilityLiveRegion
- accessibilityMediaSession
- accessibilityPerformEscapeEvent
- accessibilityRole
- accessibilityState
- accessibilityValue
- accessible
- alignSelf
- androidDynamicElevationOffset
- androidElevation
- autocapitalizationType
- autocorrect
- autofillType
- automationText
- background
- backgroundColor
- backgroundImage
- bindingContext
- blurEvent
- borderBottomColor
- borderBottomLeftRadius
- borderBottomRightRadius
- borderBottomWidth
- borderColor
- borderLeftColor
- borderLeftWidth
- borderRadius
- borderRightColor
- borderRightWidth
- borderTopColor
- borderTopLeftRadius
- borderTopRightRadius
- borderTopWidth
- borderWidth
- boxShadow
- className
- col
- color
- colSpan
- column
- columnSpan
- createdEvent
- cssClasses
- cssPseudoClasses
- cssType
- disposeNativeViewEvent
- dock
- domNode
- editable
- effectiveBorderBottomWidth
- effectiveBorderLeftWidth
- effectiveBorderRightWidth
- effectiveBorderTopWidth
- effectiveHeight
- effectiveLeft
- effectiveMarginBottom
- effectiveMarginLeft
- effectiveMarginRight
- effectiveMarginTop
- effectiveMinHeight
- effectiveMinWidth
- effectivePaddingBottom
- effectivePaddingLeft
- effectivePaddingRight
- effectivePaddingTop
- effectiveTop
- effectiveWidth
- flexGrow
- flexShrink
- flexWrapBefore
- focusEvent
- fontSize
- formattedText
- height
- hint
- horizontalAlignment
- id
- ignoreTouchAnimation
- iosAccessibilityAdjustsFontSize
- iosAccessibilityMaxFontScale
- iosAccessibilityMinFontScale
- iosIgnoreSafeArea
- iosOverflowSafeArea
- iosOverflowSafeAreaEnabled
- isCollapsed
- isEnabled
- isLayoutValid
- isUserInteractionEnabled
- keyboardType
- layoutChangedEvent
- left
- letterSpacing
- lineHeight
- loadedEvent
- margin
- marginBottom
- marginLeft
- marginRight
- marginTop
- maxLength
- maxLines
- minHeight
- minWidth
- modal
- nativeTextViewProtected
- nativeViewProtected
- opacity
- order
- originX
- originY
- padding
- paddingBottom
- paddingLeft
- paddingRight
- paddingTop
- parent
- perspective
- propertyChangeEvent
- recycleNativeView
- returnKeyType
- reusable
- rotate
- rotateX
- rotateY
- row
- rowSpan
- scaleX
- scaleY
- sharedTransitionIgnore
- sharedTransitionTag
- showingModallyEvent
- shownModallyEvent
- testID
- text
- textAlignment
- textChangeEvent
- textDecoration
- textShadow
- textTransform
- top
- touchAnimation
- touchDelay
- transitionId
- translateX
- translateY
- unloadedEvent
- updateTextTrigger
- valueFormatter
- verticalAlignment
- viewController
- visibility
- whiteSpace
- width
Methods
114 methods inherited from EditableTextBase
Click to expand
- _addView
- _addViewCore
- _addViewToNativeVisualTree
- _applyXmlAttribute
- _batchUpdate
- _childIndexToNativeChildIndex
- _closeAllModalViewsInternal
- _createPropertyChangeData
- _dialogClosed
- _eachLayoutView
- _emit
- _getNativeViewsCount
- _getRootModalViews
- _getValue
- _handleLivesync
- _hasAncestorView
- _hideNativeModalView
- _inheritStyleScope
- _layoutParent
- _observe
- _onAttachedToWindow
- _onDetachedFromWindow
- _onRootViewReset
- _onSizeChanged
- _parentChanged
- _raiseLayoutChangedEvent
- _raiseShowingModallyEvent
- _raiseShownModallyEvent
- _removeView
- _removeViewCore
- _removeViewFromNativeVisualTree
- _resumeNativeUpdates
- _setupAsRootView
- _setupUI
- _setValue
- _shouldDelayLayout
- _showNativeModalView
- _suspendNativeUpdates
- _tearDownUI
- _updateStyleScope
- accessibilityAnnouncement
- accessibilityScreenChanged
- addEventListener
- addEventListener
- addPseudoClass
- animate
- bind
- callLoaded
- callUnloaded
- closeModal
- combineMeasuredStates
- createAnimation
- createNativeView
- deletePseudoClass
- destroyNode
- dismissSoftInput
- disposeNativeView
- eachChild
- eachChildView
- ensureDomNode
- focus
- get
- getActualSize
- getGestureObservers
- getLocationInWindow
- getLocationOnScreen
- getLocationRelativeTo
- getMeasuredHeight
- getMeasuredState
- getMeasuredWidth
- getSafeAreaInsets
- getViewByDomId
- getViewById
- hasGestureObservers
- hasListeners
- initNativeView
- layout
- layoutChild
- layoutNativeView
- loadView
- measure
- measureChild
- notify
- notifyPropertyChange
- off
- off
- on
- on
- onBackPressed
- once
- once
- onLayout
- onLoaded
- onMeasure
- onResumeNativeUpdates
- onUnloaded
- removeEventListener
- removeEventListener
- requestLayout
- resetNativeView
- resolveSizeAndState
- sendAccessibilityEvent
- set
- setInlineStyle
- setMeasuredDimension
- setNativeView
- setOnTouchListener
- setProperty
- setSelection
- setTestID
- showModal
- toString
- unbind
- unloadView
Constructors β
Properties β
android β
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 β
Gets or sets if a text field should dismiss on return.
ios β
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 β
Gets or sets if a text field is for password entry.
secureWithoutAutofill β
iOS only (to avoid 12+ auto suggested strong password handling)
returnPressEvent β
Static
Methods β
_updateAttributedPlaceholder β
iOS only update placeholder attributed text style
Returns void