Text Inputv1
A text input (text box) component allows a user to enter and edit a single or multiple lines of text, depending on the type attribute of the input element. The text input component can be placed within a form and is usually labeled with a helpful text that easily identifies its purpose.
These text input fields can be used in a variety of ways, such as for collecting information like names, email addresses, phone numbers, and other types of text data. Additionally, the text input component can have additional functionality, styling, and accessibility features that can make it more user-friendly, efficient and accessible.
Examples
Standard
The component, simply displaying placeholder data.
- Properties
- Markup
- JSON
- jcr:title: Text Input
- description: <p>This is a long description.</p>
- tooltip: <p>This is a short description.</p>
- placeholder: Enter text here
- sling:resourceType: forms-components-examples/components/form/textinput
- fieldType: text-input
- tooltipVisible: true
This is a short description.
This is a long description.