pfSelect
patternfly.select
The pfSelect component provides a wrapper for the angular ui bootstrap dropdown.
<pf-select
selected
options="{object}"
display-field="{string}"
empty-value="{string}"
on-select="{function(item)}">
</pf-select>
| Param | Type | Details |
|---|---|---|
| selected | object | Curently selected value |
| options | object | Array of valid selections |
| displayField | string | Field from the object in the array to display for selection (optional) |
| emptyValue | string | value to display when nothing is selected |
| onSelect | function(item | Function to call upon user selection of an item. |