toOptions()
toOptions(
arr
?:OptionList
):null
|Element
[]
Generates an array of <option>
or <optgroup>
elements
from a given OptionList.
Parameters
Parameter | Type |
---|---|
arr ? | OptionList |
Returns
null
| Element
[]
Defined in
packages/react-querybuilder/src/utils/toOptions.tsx:9
caution
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.