You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/docs/controls/ContentTypePicker.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,20 +57,20 @@ The `ContentTypePicker` control can be configured with the following properties:
57
57
| context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
58
58
| listId | string | no | The ID of the list or library you wish to select content type(s) from. When not specified, picker will be populated with site content types.|
59
59
| className | string | no | If provided, additional class name to provide on the dropdown element. |
60
-
disabled | boolean | no | Whether or not the control is disabled. |
61
-
includeHidden | boolean | no | Whether or not to include hidden content types. Default is true. |
62
-
includeReadOnly | boolean | no | Whether or not to include read-only content types. Default is true. |
63
-
group | string | no | Only show content types of a certain group. |
64
-
filter | string | no | Filter content types from OData query (takes the upperhand of `hidden`, `readOnly` and `group` Filters). |
65
-
orderBy | ContentTypesOrderBy | no | How to order the content types. |
66
-
selectedContentTypes | string \| string[] | no | IDs of the selected item(s). If you provide this, you must maintain selection state by observing `onSelectionChanged` events and passing a new value in when changed.
67
-
multiSelect | boolean | no | Indicates if multi-choice selections is allowed. Default is false. |
68
-
label | string | no | The label to display. |
69
-
placeholder | string | no | Input placeholder text. Displayed until option is selected. |
70
-
onSelectionChanged | (newValue: ISPContentType \| ISPContentType[]): void | no | Callback issued when the selected option changes. |
71
-
filterItems | (contentTypes: ISPContentType[]): ISPContentType[] | no | This function is invoked after the filtering has been done. This allows you to add additional custom filtering.
72
-
webAbsoluteUrl | string | no | Absolute Web Url of target site (user requires permissions). |
73
-
showBlankOption | boolean | no | Whether or not to show a blank option. Default is false. Works only when `multiSelect` is false. |
60
+
|disabled | boolean | no | Whether or not the control is disabled. |
61
+
|includeHidden | boolean | no | Whether or not to include hidden content types. Default is true. |
62
+
|includeReadOnly | boolean | no | Whether or not to include read-only content types. Default is true. |
63
+
|group | string | no | Only show content types of a certain group. |
64
+
|filter | string | no | Filter content types from OData query (takes the upperhand of `hidden`, `readOnly` and `group` Filters). |
65
+
|orderBy | ContentTypesOrderBy | no | How to order the content types. |
66
+
|selectedContentTypes | string \| string[]| no | IDs of the selected item(s). If you provide this, you must maintain selection state by observing `onSelectionChanged` events and passing a new value in when changed.|
67
+
|multiSelect | boolean | no | Indicates if multi-choice selections is allowed. Default is false. |
68
+
|label | string | no | The label to display. |
69
+
|placeholder | string | no | Input placeholder text. Displayed until option is selected. |
70
+
|onSelectionChanged | (newValue: ISPContentType \| ISPContentType[]): void | no | Callback issued when the selected option changes. |
71
+
|filterItems | (contentTypes: ISPContentType[]): ISPContentType[]| no | This function is invoked after the filtering has been done. This allows you to add additional custom filtering.|
72
+
|webAbsoluteUrl | string | no | Absolute Web Url of target site (user requires permissions). |
73
+
|showBlankOption | boolean | no | Whether or not to show a blank option. Default is false. Works only when `multiSelect` is false. |
0 commit comments