pnp/sp-dev-solutions

Something changed in Dynamic Webpart Property

AvniBhatt opened this issue · 4 comments

Node Version : 8.16.1
I was using below code to get the selected menu item from the property pane:
let selectedMenuItem = this._dynamicDataService.getDataSourceValue(this.properties.menuItem, this.properties.sourceId, this.properties.propertyId, this.properties.propertyPath);

and in return, i used to get the selcted menu. Since yesterday something has changed and now, i am getting this value under:
selectedMenuItem.menuItem

Has it something to do with "DynamicDataService"? as I am getting the same issue wherever Dynamic Data Service is used. Other web parts which does not involve DynamicDataService works fine.

wobba commented

Could be related to SharePoint/sp-dev-docs#5947

Yes @wobba , it was the same issue. Thank you!

wobba commented

So we can close this issue?

Yes, closing the issue.