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: CHANGELOG.json
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
{
2
2
"versions": [
3
+
{
4
+
"version": "1.13.0",
5
+
"changes": {
6
+
"new": [
7
+
],
8
+
"enhancements": [
9
+
"Updated the `office-ui-fabric-react` to the same version as in SPFx 1.7.0 [#105](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/105)",
10
+
"`PropertyFieldPeoplePicker`: Ability to select only from a specific site [#9](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/9)",
11
+
"`PropertyFieldCodeEditor`: Added support for custom field rendering [#122](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/122)",
12
+
"`PropertyFieldCodeEditor`: Added the functionality to sort the items in the collection [#123](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/123)"
13
+
],
14
+
"fixes": [
15
+
"`PropertyFieldDateTimePicker`: Fix for the hours dropdown not showing values [#112](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/112)",
16
+
"`PropertyFieldCollectionData`: Issue with debounce validation overriding the inserted values [#113](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/113)",
"`PropertyFieldCodeEditor`: Handle initial value after updating properties [#121](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/121)"
19
+
]
20
+
},
21
+
"contributions": ["[Erwin van Hunen](https://github.com/erwinvanhunen)"]
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
# Releases
2
2
3
+
## 1.13.0
4
+
5
+
**Enhancements**
6
+
7
+
- Updated the `office-ui-fabric-react` to the same version as in SPFx 1.7.0 [#105](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/105)
8
+
-`PropertyFieldPeoplePicker`: Ability to select only from a specific site [#9](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/9)
9
+
-`PropertyFieldCodeEditor`: Added support for custom field rendering [#122](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/122)
10
+
-`PropertyFieldCodeEditor`: Added the functionality to sort the items in the collection [#123](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/123)
11
+
12
+
**Fixes**
13
+
14
+
-`PropertyFieldDateTimePicker`: Fix for the hours dropdown not showing values [#112](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/112)
15
+
-`PropertyFieldCollectionData`: Issue with debounce validation overriding the inserted values [#113](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/113)
-`PropertyFieldCodeEditor`: Handle initial value after updating properties [#121](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/121)
18
+
19
+
### Contributors
20
+
21
+
Special thanks to our contributor: [Erwin van Hunen](https://github.com/erwinvanhunen).
Copy file name to clipboardExpand all lines: docs/documentation/docs/about/release-notes.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
# Releases
2
2
3
+
## 1.13.0
4
+
5
+
**Enhancements**
6
+
7
+
- Updated the `office-ui-fabric-react` to the same version as in SPFx 1.7.0 [#105](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/105)
8
+
-`PropertyFieldPeoplePicker`: Ability to select only from a specific site [#9](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/9)
9
+
-`PropertyFieldCodeEditor`: Added support for custom field rendering [#122](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/122)
10
+
-`PropertyFieldCodeEditor`: Added the functionality to sort the items in the collection [#123](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/123)
11
+
12
+
**Fixes**
13
+
14
+
-`PropertyFieldDateTimePicker`: Fix for the hours dropdown not showing values [#112](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/112)
15
+
-`PropertyFieldCollectionData`: Issue with debounce validation overriding the inserted values [#113](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/113)
-`PropertyFieldCodeEditor`: Handle initial value after updating properties [#121](https://github.com/SharePoint/sp-dev-fx-property-controls/issues/121)
18
+
19
+
### Contributors
20
+
21
+
Special thanks to our contributor: [Erwin van Hunen](https://github.com/erwinvanhunen).
| defaultValue | any | no | Specify a default value for the input field. |
121
141
| deferredValidationTime | number | no | Field will start to validate after users stop typing for `deferredValidationTime` milliseconds. Default: 200ms. |
122
142
| onGetErrorMessage | (value: any, index: number, crntItem: any): string \| Promise<string> | no | The method is used to get the validation error message and determine whether the input value is valid or not. It provides you the current row index and the item you are currently editing. |
143
+
| onCustomRender | (field: ICustomCollectionField, value: any, onUpdate: (fieldId: string, value: any) => void) => JSX.Element | no | This property is only required if you are using the `custom` field type and it can be used to specify the custom rendering of your control in the collection data. |
| dropdown | Dropdown field. You will have to specify the `options` property when using this field type |
132
153
| fabricIcon | Name of the [Office UI Fabric icon](https://developer.microsoft.com/en-us/fabric#/styles/icons)|
133
154
| url | URL field |
155
+
| custom | This gives you control over the whole field rendering. Be sure to provide the `onCustomRender` method to render your control in the collection data. |
Copy file name to clipboardExpand all lines: docs/documentation/docs/controls/PropertyFieldPeoplePicker.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,8 @@ The `PropertyFieldPeoplePicker` control can be configured with the following pro
64
64
| multiSelect | boolean | no | Define if you want to allow multi user / group selection. (optional, true by default). |
65
65
| principalType | PrincipalType[]| no | Define which type of data you want to retrieve: User, SharePoint groups, Security groups. Multiple are possible. |
66
66
| onPropertyChange | function | yes | Defines a onPropertyChange function to raise when the date gets changed. |
67
-
| properties | any | yes | Parent web part properties, this object is use to update the property value. |
67
+
| properties | any | yes | Parent web part properties, this object is use to update the property value. |
68
+
| targetSiteUrl | string | no | Specify the URL of the target site from which you want to retreive the users/groups. |
68
69
| key | string | yes | An unique key that indicates the identity of this control. |
69
70
| onGetErrorMessage | function | no | The method is used to get the validation error message and determine whether the input value is valid or not. See [this documentation](https://dev.office.com/sharepoint/docs/spfx/web-parts/guidance/validate-web-part-property-values) to learn how to use it. |
70
71
| deferredValidationTime | number | no | Control will start to validate after users stop typing for `deferredValidationTime` milliseconds. Default value is 200. |
0 commit comments