Examples
Basic usage
ember-power-select
Please select an addon
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| @validationField | string | Yes | The field name in the changeset for validation. |
| @changeset | ImmerChangeset | Yes | The changeset object for form validation. |
| @options | Array | Yes | The options to display in the select dropdown. Each option should have a toString() method for display. |
| @label | string | No | The label for the input field. |
| @placeholder | string | No | The placeholder text for the input field. |
| @disabled | boolean | No | Whether the input field is disabled. |
| @multiple | boolean | No | Whether multiple selections are allowed. |
| @mandatory | boolean | No | Whether the select field is mandatory. |
| @initiallyOpened | boolean | No | Whether the select dropdown is initially opened. |
| @allowClear | boolean | No | Whether to show a button to clear the selection. |
| @onChange | Function | No | The action to be called when the selection changes. |
| @labelComponent | Component | No | The custom component to use for the label. |
| @selectedItemComponent | Component | No | The custom component to use for the selected item. |
| @placeholderComponent | Component | No | The custom component to use for the placeholder. |