Skip to content

Commit

Permalink
fix(docs): updated property name for active items (#318)
Browse files Browse the repository at this point in the history
fixes #307
  • Loading branch information
Adrian Faciu authored and valorkin committed Jul 24, 2016
1 parent 388506f commit d39def2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/select/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {SELECT_DIRECTIVES} from 'ng2-select/ng2-select';
Items may be nested by adding a `children` property to any item, whose value should be another array of items. Items that have children may omit having an ID.
If `items` are specified, all items are expected to be available locally and all selection operations operate on this local array only.
If omitted, items are not available locally, and the `query` option should be provided to fetch data.
- `data` (`?Array<any>`) - Initial selection data to set. This should be an object with `id` and `text` properties in the case of input type 'Single',
- `active` (`?Array<any>`) - Initial selection data to set. This should be an object with `id` and `text` properties in the case of input type 'Single',
or an array of such objects otherwise. This option is mutually exclusive with value.
- `allowClear` (`?boolean=false`) (*not yet supported*) - Set to `true` to allow the selection to be cleared. This option only applies to single-value inputs.
- `placeholder` (`?string=''`) - Placeholder text to display when the element has no focus and selected items.
Expand Down

0 comments on commit d39def2

Please sign in to comment.