Text Input

A text input component. Usually, this will be used as part of an ISLE dashboard, but it can also be used standalone. In this case, you want to handle changes via the onChange attribute.

Example:

<TextInput
    legend="Your name"
    defaultValue="Enter text"
/>

Options:

  • defaultValue: The text input is initialized with. Default: ''.
  • inline: boolean indicating whether the element should be displayed inline. Default: false.
  • legend: string to be displayed as the title of te component. Default: ''.
  • onChange: Callback function invoked after each change of the text value. Default: null.
  • width: width of the text input field in pixels. Default: 80.

results matching ""

    No results matching ""