I had created a SPFx web part. The web part contains a Property Pane Custom Field, which returns a string. Now, when I hit apply button on property pane, my custom property gets the data and render it properly. Even doing hard refresh doesn't effect anything on page.

But when I open the same page on a new browser (or clear same browser cache), the value changes to null. While rest of the OOTB properties in property pane retain its data.

I would like to know, where and how SPFx stores property pane value. Also, is there any method we need to call in custom property pane field to preserve its value across browsers?

  • Could you find the answer? If yes kindly share it I am also stuck on it – Student Apr 4 '18 at 20:26
  • Sorry but i didnt got any solution for this. I created the new solution and copy pasted everything. I dont know why, but it worked. – ThinkB4Code Apr 5 '18 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.