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.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Releases
2
2
3
+
## 1.2.4
4
+
5
+
**Enhancements**
6
+
- Hiding placeholder web part on small zones
7
+
8
+
**Fixes**
9
+
- iFrame dialog reference fix [#52 - Need some more implementation documentation on IFrameDialog](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/52)
Copy file name to clipboardExpand all lines: docs/documentation/docs/about/release-notes.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Releases
2
2
3
+
## 1.2.4
4
+
5
+
**Enhancements**
6
+
- Hiding placeholder web part on small zones
7
+
8
+
**Fixes**
9
+
- iFrame dialog reference fix [#52 - Need some more implementation documentation on IFrameDialog](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/52)
- Use the `IFrameDialog` control in your code as follows:
18
+
- Use the `IFrameDialog` control in your code as follows (`this._onIframeLoaded` and `this._onDialogDismiss` are methods that should be implemented if you want to execute some actions when the iframe content is loaded and dialog should be closed respectively):
@@ -36,6 +36,8 @@ The FieldLookupRenderer component can be configured with the following propertie
36
36
| lookups | ISPFieldLookupValue[]| yes | Lookup field values. |
37
37
| dispFormUrl | boolean | no | Url of Display form for the list that is referenced by the lookup. |
38
38
| onClick | (args: ILookupClickEventArgs) => {} | no | Custom event handler of lookup item click. If not set the dialog with Display Form will be shown. |
39
+
| fieldId | string | Field's id |
40
+
| context | IContext | Customizer context. Must be providede if fieldId is set |
Once the package is installed, you will have to configure the resource file of the property controls to be used in your project. You can do this by opening the `config/config.json` and adding the following line to the `localizedResources` property:
* - [recommended, used in FieldRendererHelper] Provide fieldId and context. In that case request for DispUrl will be sent only if a user clicks on the value
18
+
* - Provide dispFormUrl: if you know this URL a priori you can provide it into the renderer
19
+
* - Provide onClick handler to handle value's click event outside the renderer
0 commit comments