JSON editor component doesn't refresh when switching back from other tabs

Hi @Liz_Shen, welcome to the forum! :wave:
If a component is hidden, which is the case if it's on a non-visible tab, any APIs to update its model will not work. Your approach putting the value in a variable should work if we set the new value of the JSON Editor after it becomes visible.

Check this topic for an example on how to achieve this. Let us know if you have any questions! :slightly_smiling_face: