_textInput
Displays a text input field, which can be used by other displays like _checkList
--
Function
_textInput
(id, placeholder, clearbutton) -> The same Type
- id
- The id of this field, which should be unique on this page
- placeholder (optional)
- Some placeholder text to display when the field is empty
- clearbutton (optional)
- If set to true, will show a button that clears the text field
- Produces
This is similar to
_QLInput, and might eventually be merged with it, but has a different purpose.
_textInput
is designed for live interaction within a page: it is a text field that can work with other
controls to make things happen as the user types into it.
For example, this works with the
_checkList function, letting you filter the checklist items
being displayed, or add new ones.