From 865a09d760a750a9793e1a64c9645e3ba6225a9b Mon Sep 17 00:00:00 2001 From: Adrian Faciu Date: Sat, 23 Jul 2016 19:25:32 +0300 Subject: [PATCH] Updated property name for active items --- components/select/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/select/readme.md b/components/select/readme.md index fcf010b8..8913a3d6 100644 --- a/components/select/readme.md +++ b/components/select/readme.md @@ -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`) - Initial selection data to set. This should be an object with `id` and `text` properties in the case of input type 'Single', + - `active` (`?Array`) - 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.