Skip to content

Commit 5188e41

Browse files
update formatting of content-type-picker docs
1 parent 73e089f commit 5188e41

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/documentation/docs/controls/ContentTypePicker.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,20 @@ The `ContentTypePicker` control can be configured with the following properties:
5757
| context | BaseComponentContext | yes | The context object of the SPFx loaded webpart or customizer. |
5858
| 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.|
5959
| 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. |
7474

7575
Enum `ContentTypesOrderBy`
7676

0 commit comments

Comments
 (0)