Gone through the article "SPFx Cascading Dropdown In Property Pane" by Chandhani maan. I am trying to implement the same in SharePoint 2019 version, but when I declare '@microsoft/sp-property-pane' and ''@microsoft/sp-webpart-base'', i am facing the "error Property 'getPropertyPaneConfiguration' in type 'PnpCascadingWebPart' is not assignable to the same property in base type 'BaseClientSideWebPart
I need to know whether propertypaneconfiguration can be implemented in sp 2019
Loading
Tuhin PaulPosted Feb 3, 2024, 8:43 AM
This is a TypeScript type error related to the
getPropertyPaneConfigurationproperty in your web part. Without having the specific code from your project, it's a bit challenging to pinpoint the exact issue, but I can provide some general guidance.In SharePoint Framework (SPFx) projects, the
getPropertyPaneConfigurationmethod is used to define the property pane configuration for a web part. This method is part of theBaseClientSideWebPartclass from the@microsoft/sp-webpart-basepackage.