Skip to content

Commit

Permalink
Update taxonomy picker docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joelfmrodrigues committed Sep 9, 2021
1 parent 80c43a5 commit c28a01b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/documentation/docs/controls/TaxonomyPicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The TaxonomyPicker control can be configured with the following properties:
| label | string | yes | Text displayed above the Taxonomy Picker. |
| disabled | boolean | no | Specify if the control needs to be disabled. |
| context | BaseComponentContext | yes | Context of the current web part or extension. |
| initialValues | IPickerTerms | no | Defines the selected by default term sets. |
| initialValues | IPickerTerms | no | Defines the terms selected by default. For each term object, an empty string can be provided for properties path and termset. |
| allowMultipleSelections | boolean | no | Defines if the user can select only one or many term sets. Default value is false. |
| termsetNameOrID | string | yes | The name or Id of your TermSet that you would like the Taxonomy Picker to chose terms from. |
| onChange | function | no | captures the event of when the terms in the picker has changed. |
Expand Down
4 changes: 2 additions & 2 deletions src/controls/taxonomyPicker/ITaxonomyPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface ITaxonomyPickerProps {
*/
allowMultipleSelections?: boolean;
/**
* Defines the selected by default term sets.
* Defines the terms selected by default. For each term object, an empty string can be provided for properties path and termset.
*/
initialValues?: IPickerTerms;
/**
Expand Down Expand Up @@ -105,7 +105,7 @@ export interface ITaxonomyPickerProps {
onGetErrorMessage?: (value: IPickerTerms) => string | Promise<string>;

/**
* Called when text is in the input field and the enter key is pressed.
* Called when text is in the input field and the enter key is pressed.
*/
onNewTerm?: (value: IPickerTerm) => void;

Expand Down

0 comments on commit c28a01b

Please sign in to comment.