@@ -268,42 +404,42 @@ private onServicePickerChange(terms: IPickerTerms): void {
List picker tester:
+ label="Select your list(s)"
+ placeHolder="Select your list(s)"
+ baseTemplate={100}
+ includeHidden={false}
+ multiSelect={true}
+ onSelectionChanged={this.onListPickerChange} />
Field picker list data tester:
+ columnInternalName="Title"
+ itemLimit={5}
+ context={this.props.context}
+ onSelectedItem={this.listItemPickerDataSelected} />
Services tester:
-
-
+ allowMultipleSelections={true}
+ termsetNameOrID="ef1d77ab-51f6-492f-bf28-223a8ebc4b65" // id to termset that has a custom sort
+ panelTitle="Select Sorted Term"
+ label="Service Picker"
+ context={this.props.context}
+ onChange={this.onServicePickerChange}
+ isTermSetSelectable={false}
+ />
+
+
- {
- this.setState({
- initialValues: [{
- key: "ab703558-2546-4b23-b8b8-2bcb2c0086f5",
- name: "HR",
- path: "HR",
- termSet: "b3e9b754-2593-4ae6-abc2-35345402e186"
- }]
- });
- }} />
+ {
+ this.setState({
+ initialValues: [{
+ key: "ab703558-2546-4b23-b8b8-2bcb2c0086f5",
+ name: "HR",
+ path: "HR",
+ termSet: "b3e9b754-2593-4ae6-abc2-35345402e186"
+ }]
+ });
+ }} />
-
-
-
-
-
Deletes second item
-
-
-
-
+
Deletes second item