Select
draft
in progress...
Loading
Code
HTML
import { NbhdSelect } from '@fbin-web/neighborhood-core';
<nbhd-select> select </nbhd-select>
React
import { NbhdSelect } from '@fbin-web/neighborhood-react';
const App = () => (
<>
<NbhdSelect>select</NbhdSelect>
</>
);
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
items
|
items
|
array
|
|
The items/options to display in the select. |
multipleSelect
|
multipleSelect
|
boolean
|
false
|
Allows multiple items/options to be selected. |
selectLimit
|
selectLimit
|
number
|
Allows a limit of how many multiple items/options can be selected. | |
selectLimit
|
selectLimit
|
number
|
Allows a limit of how many multiple items/options can be selected. | |
selectionId
|
selectionId
|
string
|
The id for the select parent structure. | |
selectionId
|
selectionId
|
string
|
The blanket id for a single item/option of the select. | |
optionLabel
|
optionLabel
|
string
|
Used for the initial placeholder for the select. | |
items
|
items
|
array
|
|
Used for the information of the items/options for the select. |