PasswordInput
value type: string
The PasswordInput
block is a single line password input.
Block
State
block_id: null
Block Setup
id: block_id
type: PasswordInput
Settings
Examples
Required password input
id: required_example
type: PasswordInput
required: true
properties:
title: Required password input
Placeholder
id: placeholder_example
type: PasswordInput
properties:
placeholder: Placeholder
Password
id: password
type: PasswordInput
properties:
title: Password
placeholder: Your password
label:
span: 6
PasswordInput JSON Schema Definition
type: object
properties:
events:
additionalProperties: false
properties:
onChange:
description: Trigger action when text input is changed.
type: array
onPressEnter:
description: Trigger action when enter is pressed while text input is focused.
type: array
type: object
properties:
additionalProperties: false
properties:
autoFocus:
default: false
description: Autofocus to the block on page load.
type: boolean
disabled:
default: false
description: Disable the block if true.
type: boolean
inputStyle:
description: Css style to applied to input.
type: object
label:
additionalProperties: false
description: Label properties.
properties:
align:
default: left
description: Align label left or right when inline.
enum:
- left
- right
type: string
colon:
default: true
description: Append label with colon.
type: boolean
disabled:
default: false
description: Hide input label.
type: boolean
extra:
description: Extra text to display beneath the content - supports html.
type: string
extraStyle:
description: Css style to applied to label extra.
type: object
feedbackStyle:
description: Css style to applied to label feedback.
type: object
hasFeedback:
default: true
description: >-
Display feedback extra from validation, this does not disable
validation.
type: boolean
inline:
default: false
description: Render input and label inline.
type: boolean
span:
description: Label inline span.
type: number
title:
description: Label title - supports html.
type: string
type: object
placeholder:
description: Placeholder text inside the block before user types input.
type: string
size:
default: default
description: Size of the block.
enum:
- small
- default
- large
type: string
title:
description: >-
Title to describe the input component, if no title is specified the
block id is displayed - supports html.
type: string
type: object