jsoneditor-react icon indicating copy to clipboard operation
jsoneditor-react copied to clipboard

value is not reactive

Open juan-carvajal opened this issue 4 years ago • 4 comments
trafficstars

Hi! I really liked you editor, but I find it a little hard to use because the value prop only takes the initial value, but is not affected when the prop is changed elsewhere.

Am I missing something?

Greetings!

juan-carvajal avatar Jun 21 '21 01:06 juan-carvajal

I hear you man, see this issue https://github.com/vankop/jsoneditor-react/issues/3

Did you find a workaround?

anthonywebb avatar Jun 24 '21 17:06 anthonywebb

@juan-carvajal fix is here https://github.com/vankop/jsoneditor-react/issues/4

anthonywebb avatar Jun 30 '21 14:06 anthonywebb

@juan-carvajal fix is here #4

Looks good! Should I close the issue?

juan-carvajal avatar Jun 30 '21 18:06 juan-carvajal

Since this is a duplicate of #4 I think so. That said I found this issue first ;)

morkeleb avatar Mar 31 '23 08:03 morkeleb