#Usage:
{{select-box value=customerId content=customers optionValuePath="id" optionLabelPath="name" prompt="Select a customer" fullWidth=true}}
| Attribute | Description | Required | Example |
|---|---|---|---|
| value | The value in your model or controller to bind to. It is the selected value of the dropdown list. | Yes | value=customerId |
| content | The property name within your model or controller that provides an array of source data that will be used to populate the list | Yes | content=customers |
| optionValuePath | The key from the option to read the value from. Default "id" | No | optionValuePath='id' |
| optionLabelPath | The key from the option to read the label from. Default "name" | No | optionLabelPath='name' |
| prompt | Sets the text to display when there is no selected value. Default "Select ..." | No | prompt='Select a customer' |
| fullWidth | When set to true the component will stretch to 100% of the width of it's container |
No | fullWidth='true' |