pnp / sp-dev-fx-property-controls

Reusable SPFx property pane controls - Open source initiative
https://pnp.github.io/sp-dev-fx-property-controls/
MIT License
237 stars 152 forks source link

Error using PnP Property Controls on SPFx Adaptive Card Extension #605

Open dcashpeterson opened 8 months ago

dcashpeterson commented 8 months ago

When I am using any property control using SPFx 1.18 and the ACE template I am getting the same error as #567. The sample provided as an solution is written in SPFx 1.13 and and V3.2 of the controls and doesn't work. I have tried the file picker and the site picker controls

sp-pages-assembly_en-us_dabadef8fce89e16a072e1ef7c166a4d.js:191 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'isInternal')

Thanks

Category

Version

Please specify what version of the library you are using: [ 3.16]

Expected / Desired Behavior / Question

Following the configuration examples the property controls should load in the property pane.

Observed Behavior

Steps to Reproduce

  1. Scaffold a new ACE project using SPFx 1.18
  2. Add the Property controls per the instructions
  3. Add property control to Property Panel
  4. Load the ACE on the dashboard and try to edit it
  5. The error is thrown to the console and the property page doesn't render
ghost commented 8 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Annie-Johnson commented 8 months ago

Looks like this is the same issue as mine #604

a1mery commented 8 months ago

I'm having the same issue while working on an ACE using SPFx 1.18.2 and the site picker control. @Annie-Johnson not sure this is the same issue. For this one the build is successful, the issue occurs when trying to open the property pane of the ACE.