Forum Discussion

AjitKadiya's avatar
AjitKadiya
Copper Contributor
Dec 02, 2019

SPFx webpart Duplicate records on Same page( if i add same webpart 2 time on page).

I have created a SPFx webpart with Tool Pane property named "Project". It will display the records based on the Project name provided in Tool Pane property. If I add the same webpart 2 times on the same page it will merge the record in both the webpart.

 

For example Webpart1 - Project A in toolpane

1) ABC 

2) Xyz 

After adding Webpart2 on the same page with telephone property Project B. 

The value should be 

1) ASD

But both webpart show

1) ABC 

2) Xyz 

3) ASD

 

Thanks,

Ajit

No RepliesBe the first to reply