Select Input

A select 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:

<SelectInput
    legend="Choose the test direction"
    defaultValue="two-sided"
    options={[
        'left-sided',
        'right-sided',
        'two-sided'
    ]}
/>

Options:

  • defaultValue: The option the select 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 slider value. Default: null.
  • options: Array of options for the select input element. Default: [].

results matching ""

    No results matching ""