Jun 13 2017 05:41 PM
so the ddocumentation for spfx command sets says we should
import { Dialog } from '@microsoft/sp-dialog/lib/index';
to display a dialog box.
i thought we were supposed to be using fabric for. the ui.
what's up with that?
Jun 14 2017 05:02 AM
@Russell Gove, One right doesn't mean that the other is wrong.
For dialogs you have quite a few options the option in this article by @Vesa Juvonen is one way:
Recently for one of my customer I developed a custom form solution within a TypeScript SPFx web part.
https://veenstra.me.uk/2017/06/05/office-365-sharepoint-how-to-create-forms-using-spfx/
The nice thing about the SPFx is that you can use any framework you like just add it with npm to your project and off you go. No real limitations just a lot of options.
So far I've found it a great way to say to my customers "almost anything is possible". If it doesn't exist yet, then simply start from scratch and with simple TypeScript development you could build the forms , dialogs etc. it all depends on your requirements.
In Vesa's article you will find one of these options.
Jun 14 2017 05:13 AM
Hi Pieter,
Agreed.
I'm just curious if the spfx team is 'wrapping' the fabric dialog component, and if so, will do the same for other fabric components going formward. Have not dug into it yet.
Russell