# oh-input-item - Input List Item

Display an input field in a list

# Configuration

# List Item

General settings of the list item

# title Title TEXT

Title of the item

# subtitle Subtitle TEXT

Subtitle of the item

# after After TEXT

Text to display on the opposite side of the item (set either this or a badge)

# icon Icon TEXT

Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon) or material:iconName (Material icon)

# iconColor Icon Color TEXT

Not applicable to openHAB icons

# iconUseState Icon depends on state BOOLEAN

Use the state of the item to get a dynamic icon (for openHAB icons only)

# Input

# name Name TEXT

Input name

# type Type TEXT

Type of input (see f7 input docs)

# inputmode Input Mode TEXT

Type of data that might be entered (see MDN docs)

# placeholder Placeholder TEXT

Placeholder text

# sendButton Send button BOOLEAN

Display Send button to update the state with a command (needs a configured item)

# clearButton Clear button BOOLEAN

Display input clear button when applicable

# outline Outline BOOLEAN

Makes input outline

# required Required BOOLEAN

Display an error message if left empty

# validate Validate BOOLEAN

When enabled, input value will be validated based on input type

# validate-on-blur Validate on blur BOOLEAN

Only validate when focus moves away from input field

# item Item TEXT item

Link the input value to the state of this item

# defaultValue Default value TEXT

Default value when not found in item state or variable

# variable Variable TEXT

Name of the variable to set when the input changes