Checkbox Input

A checkbox input component. Usually, this component 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:

<CheckboxInput
    legend="Take the logarithm"
    defaultValue={false}
/>

Open interactive preview

Note: To see a prior version of the demonstration, visit the old link

Options:

  • defaultValue: The value the checkbox is initialized with. Default: false.
  • legend: string to be displayed as the title of te component. Default: ''.
  • onChange: Callback function invoked after each change of the checkbox value. Default: null.
  • inline: A bool value indicating whether to place the component inline with text. Default: false.

results matching ""

    No results matching ""