latest version

Input Text

Text input option type.

Fields

Name Type Required Description
placeholder string   Specify input placeholder.

Config

Name Type Default Description
size string "auto"
Specify the input size.

There are 3 sizes:
- "short", for short input.
- "medium", for normal input.
- "large", for large width input.
- "auto", for full width input.

DefaultValue

Name Type Default Description
value string "" Any string value.

Minimal Usage

{
  id: "title",
  type: "inputText"
}

Usage

{
  label: "Title",
  id: "title",
  type: "inputText",
  placeholder: "Insert item title",
  config: {
    size: "large",
  },
  defaultValue: {
    value: "Item 1"
  }
}