From db116363a533c8f5410a3b762fbd33f56d86287b Mon Sep 17 00:00:00 2001 From: punkrocker178 Date: Fri, 20 Aug 2021 21:17:44 +0700 Subject: [PATCH] Add disabledField setting documentation to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e8a6b51..a1d96c4 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,7 @@ export class AppComponent implements OnInit { | singleSelection | Boolean | Mode of this component. If set `true` user can select more than one option. | false | | placeholder | String | Text to be show in the dropdown, when no items are selected. | 'Select' | | disabled | Boolean | Disable the dropdown | false | +| disabledField | String | Define a custom field name that can be used to disable an item. | 'isDisabled' | | data | Array | Array of items from which to select. Should be an array of objects with id and `text` properties. You can also use custom properties. In that case you need to map idField and `textField` properties. As convenience, you may also pass an array of strings, in which case the same string is used for both the ID and the text(no mapping is required) | n/a | | idField | String | map id field in case of custom array of object | 'id' | | textField | String | map text field in case of custom array of object | 'text' |