5.7 KiB
5.7 KiB
title | component | label | description | source | prev |
---|---|---|---|---|---|
oh-input-item - Input List Item | oh-input-item | Input List Item | Display an input field in a list | https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-input-item.md | /docs/ui/components/ |
oh-input-item - Input List Item
Display an input field in a list
Configuration
List Item
General settings of the list item
Title of the item
Subtitle of the item
Text to display on the opposite side of the item (set either this or a badge)
Use
oh:iconName
(openHAB icon), f7:iconName
(Framework7 icon) or material:iconName
(Material icon)
Not applicable to openHAB icons
Use the state of the item to get a dynamic icon (for openHAB icons only)
Input
Input name
Type of input (see f7 input docs)
Type of data that might be entered (see MDN docs)
Placeholder text
Display Send button to update the state with a command (needs a configured item)
Display input clear button when applicable
Makes input outline
Display an error message if left empty
When enabled, input value will be validated based on input type
Only validate when focus moves away from input field
Link the input value to the state of this item
Default value when not found in item state or variable
Name of the variable to set when the input changes