Closed mfdezvil closed 9 months ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I am having the exact same issue having gone through the documentation multiple times and looking at source code from other projects it just doesn't seem to work.
@mfdezvil - thanks for reporting this one. Does the solution work fine without PnP controls in the property pane? Could you please share the test solution with us?
Thanks!
Hi @AJIXuMuK , Yeah, solution works perfect if I don't use any PnP Property Controls component. I have uploaded a test adaptive card to this repo -all code is default created by yeoman, except I installed PnP Property Controls and use them in property pane. Let me know if you need more info.
Thanks.
@mfdezvil Thanks for the confirmation! We'll be looking into it.
Hi, any updates on this one?
I have a brand new 1.18.2 SPFx ACE project, and installed 3.15.1 of this project and I get the same result as the OP. I've tried several controls including Taxonomy Picker and MultiSelect.
It is hard to tell if the error is coming from this library or something within SPFx. @mfdezvil , did you have any luck getting around this issue? I can use any controls from the @microsoft/sp-property-pane space, just none from this repo.
Hi @c-eiser13 , I did not find a solution for this, so finally I removed library, stopped use these controls and redefined my application design. A bit disappointed about support team, who never taked care of this bug and neither answered me :(
@mfdezvil I am sorry that this slipped through and created a bad experience for you when using the controls. We try our best to review PRs, handle issues and questions, general project maintenance, etc, but sometimes it's hard to keep up with all the work as we do all this outside of working hours. Hoping for one of us or a community member to provide an update soon
Closing issue as "answered". If you encounter similar issue(s), please open up a NEW issue. Thank you.
Category
Version
Please specify what version of the library you are using: 3.13.0
I'm trying to use PnP Property Controls on a SPFx Adaptive Card Extension, in order to use advanced controls (PropertyFieldSpinner and PropertyFieldIconPicker) in property panel of adaptive card. I try to use a "simple" control as Spinner with properties:
And a more "complex" control , with elaborated properties like component context or onPropertyChange function:
Neither option works despite of I follow documentation step by step.
Expected / Desired Behavior / Question
Expect behaviour would be to view and use Property Controls in the property pane of the Adaptive Card.
Observed Behavior
When I open property pane to edit Adaptive Card properties, it shows a blank pane. In the browser console it shows this error:
Steps to Reproduce
Using a default Adaptive Card Extension on SPFx v1.17.2 , with default scaffolding, I install @pnp/spfx-property-controls with npm. Then, I add code of the control in AdaptiveCardPropertyPane as it is said in documentation, for example: