Skip to content

Latest commit

 

History

History
executable file
·
38 lines (22 loc) · 984 Bytes

dropdown-field-usage.md

File metadata and controls

executable file
·
38 lines (22 loc) · 984 Bytes

Home / DropdownField

DropdownField

This widget is a form widget which allows the user to select a value from a dropdown list.

DropdownField is intrinsically a select element and accepts all of its attributes.

Usage

import { DropdownField } from "react-simple-widgets/dist/dropdown-field";

<DropdownField name label helper leading trailing>
  <option value="value1">Value 1</option>
  <option value="value2">Value 2</option>
</DropdownField>;