Comments (4)
@AJIXuMuK can you help @kspranesh with this?
from sp-dev-fx-controls-react.
Hi @kspranesh
I've created a small sample for IFrameDialog here
There is an issue on how to reference the component from the library (I will fix it), but the component itself works as expected.
Regarding your concerns:
- I use it and i get promise errors with sp.dialog.js
sp.dialog.js
is not used inIFrameDialog
. Maybe these errors are posted from the page that you're opening in the iframe. - Do i have to explicitly implement the method?. Yes, you should implement this method. It's a handler to execute some code when the iframe's content is loaded. For example, you can access iframe page's HTML and change something there.
from sp-dev-fx-controls-react.
Here is a PR to address reference issue. It also adds IFrameDialog
example to the web part we have in the project.
from sp-dev-fx-controls-react.
@AJIXuMuK can You please provide a string how You call IFrameDialog with different urls?.. For example I store links to display forms and want them opened as popups..
url={this.props.url}
as I understand - opens hard-coded property, but in my classic projects it was a function..
p.s.: sorry, I am newbie in React..
Best regards, Gennady
from sp-dev-fx-controls-react.
Related Issues (20)
- Module not found - Wrong @fluentui imports cause webpack build errors HOT 8
- FilePicker can't browse "Your organisation" tab when used in webpart on the root/home SharePoint site HOT 1
- SitePicker, ListPicker & FieldPicker occasionally show options in background when using it in a dialog HOT 8
- PnP controls throwing error in SPFx webpart created using Teams Toolkit. HOT 1
- [Dynamic Form] Always Show Required Field Validation Error In "FormDisplayMode.Edit" Mode HOT 1
- DateTimePicker date selection resets page position HOT 2
- FilePicker: unable to browse through organization assets library when located on root site HOT 1
- How to use OnRenderRow property of ListView control? Can you please provide an example? HOT 5
- IViewField's render function changing passed array in items of ListView control into different properties, please see images. HOT 2
- [Dynamic Form] Cannot read properties of undefined (reading 'sections') HOT 2
- [Dynamic Form] Implement @class extensibility for DynamicForm and DynamicField, add onPreRender delegate. HOT 1
- [Dynamic Form] Implement Attachments functionality HOT 1
- [Dynamic Forms] Implement Comments functionality HOT 1
- [Dynamic Field] Implement Radio Buttons for choice fields
- LivePersona does not show hover in Teams Mobile HOT 2
- Dynamic Form - enable/disable save button HOT 2
- Richtextbox editor control HOT 2
- Dynamic Forms /layouts/15 404 error HOT 1
- DragDropFiles issue in workbench (Object(...) is not a function)
- People Picker - "@pnp/spfx-controls-react/lib/PeoplePicker" has no exported member named 'IPeoplePickerContext' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sp-dev-fx-controls-react.