TextInputState
enum TextInputState
extension TextInputState : Equatable, Hashable
The state of the TextInput view.
-
Error state shows an error icon and possibly a message below input, but no focused rectangle.
Declaration
Swift
case error -
Error focused state shows an error icon and possibly a message below input, and a focused rectangle.
Declaration
Swift
case errorFocused -
Normal state is no errors or success, and no focused rectangle.
Declaration
Swift
case normal -
Normal focused state is no errors or success, but a focused rectangle.
Declaration
Swift
case normalFocused -
Success state shows success icon and possibly a message below input, but no focused rectangle.
Declaration
Swift
case success -
Success focused state shows success icon and possibly a message below input, and a focused rectangle.
Declaration
Swift
case successFocused
View on GitHub
Install in Dash
TextInputState Enumeration Reference