app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift
Props
Name | Type | Description | Default | Values |
---|---|---|---|---|
title | String |
Adds a title | nil |
|
placeholder | String |
Adds placeholder text | "" |
|
error | (Bool, String) |
Changes the style of the Text Input | nil |
|
style | Style |
Changes the style of the Text Input | .default |
.default .rightIcon .leftIcon .inline .disabled |
onChange | Bool |
Adds an event handler | nil |
|
keyboardType | UIKeyboardType |
Speficies the keyboard type (ios only) | .default |
|
text | String |
Sets the Text Input’s text value | ||
selected | Bool |
Changes the style of the Text Input | true false |
|
isHovering | Bool |
Changes the style of the Text Input | false |
true false |
isIconHovering | Bool |
Changes the style of the Text Input | false |
true false |