MaaxGr / ang-jsoneditor

Jsoneditor for Angular 11, 12, 13 and 14
MIT License
13 stars 16 forks source link

Warning: Option "onChangeJSON" is not applicable to modes "text" and "code". #17

Open fgerges opened 1 year ago

fgerges commented 1 year ago

The object includes a property for onChangeJSON and whether it's set or not, a console warning is triggered if the modes array includes "text" or "code". I'm not using onChangeJSON so it's kind of bizarre to be getting that warning.

Option "onChangeJSON" is not applicable to modes "text" and "code". Use "onChangeText" or "onChange" instead.

Megha0710 commented 11 months ago

Facing the same issue, do we have any fix for this?