sp-dev-fx-property-controls icon indicating copy to clipboard operation
sp-dev-fx-property-controls copied to clipboard

PropertyFieldTermPicker v3.8.0 with SPFx 1.15 not loading

Open jacob-tornqvist opened this issue 3 years ago • 2 comments

Category

  • [ ] Enhancement
  • [ ] Bug
  • [X] Question

Version

SPfx 1.15 Node version v14.18 @pnp/spfx-property-controls: 3.8.0

Expected / Desired Behavior / Question

Hi! Trying to use the PropertyFieldTermPicker, but i fail when trying to serve the web part. Recieving the following error message:

Web part was not initialized properly. Web parts must be instantiated using the ClientSideWebPartManager. Many web part features cannot be used till the initialization is complete.

The context property of the control complains: Type 'WebPartContext' is not assignable to type 'BaseComponentContext'. Types have separate declarations of a private property '_serviceScope'.

Did try to set the context as any with no success.

Does the latest version of @pnp/spfx-property-controls work with SPFx 1.15?

Thanks!

jacob-tornqvist avatar Aug 01 '22 14:08 jacob-tornqvist

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

msftbot[bot] avatar Aug 01 '22 14:08 msftbot[bot]

Hey @jacob-tornqvist, could you show a code example of how you implemented the PropertyFieldTermPicker within your solution?

Jwaegebaert avatar Aug 08 '22 13:08 Jwaegebaert