Skip to main content

<html.select>

The <html.select> component lets you provide a menu of options.

Overview

To display a select box, render the <html.select component.

import { html } from 'react-strict-dom';

const Foo = () => (
<html.select>
<html.option>Red</html.option>
</html.select>
);

Props

  • ...Common props
  • autoComplete
  • multiple
  • required
  • onBeforeInput
  • onChange
  • onInput
  • onInvalid
  • onSelect