Skip to content

Commit c28a01b

Browse files
Update taxonomy picker docs
1 parent 80c43a5 commit c28a01b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/documentation/docs/controls/TaxonomyPicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ The TaxonomyPicker control can be configured with the following properties:
169169
| label | string | yes | Text displayed above the Taxonomy Picker. |
170170
| disabled | boolean | no | Specify if the control needs to be disabled. |
171171
| context | BaseComponentContext | yes | Context of the current web part or extension. |
172-
| initialValues | IPickerTerms | no | Defines the selected by default term sets. |
172+
| initialValues | IPickerTerms | no | Defines the terms selected by default. For each term object, an empty string can be provided for properties path and termset. |
173173
| allowMultipleSelections | boolean | no | Defines if the user can select only one or many term sets. Default value is false. |
174174
| termsetNameOrID | string | yes | The name or Id of your TermSet that you would like the Taxonomy Picker to chose terms from. |
175175
| onChange | function | no | captures the event of when the terms in the picker has changed. |

src/controls/taxonomyPicker/ITaxonomyPicker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface ITaxonomyPickerProps {
2121
*/
2222
allowMultipleSelections?: boolean;
2323
/**
24-
* Defines the selected by default term sets.
24+
* Defines the terms selected by default. For each term object, an empty string can be provided for properties path and termset.
2525
*/
2626
initialValues?: IPickerTerms;
2727
/**
@@ -105,7 +105,7 @@ export interface ITaxonomyPickerProps {
105105
onGetErrorMessage?: (value: IPickerTerms) => string | Promise<string>;
106106

107107
/**
108-
* Called when text is in the input field and the enter key is pressed.
108+
* Called when text is in the input field and the enter key is pressed.
109109
*/
110110
onNewTerm?: (value: IPickerTerm) => void;
111111

0 commit comments

Comments
 (0)