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

Abililty to Suppress Errors

Open mariahlynne opened this issue 9 years ago • 6 comments

It would be very useful to have an option to suppress errors so that the console does not get cluttered up (example error message below). These errors are thrown while the user is typing and they add up quickly.

Error: Parse error on line 8: ...": true, "test" "Created": "2016-01- ---------------------^ Expecting 'EOF', '}', ':', ',', ']', got 'STRING' at Object.parse (jsoneditor.js:6586) at Object.validate (jsoneditor.js:1620) at Object.parse (jsoneditor.js:1476) at JSONEditor.textmode.get (jsoneditor.js:1408) at ng-jsoneditor.js:32 at angular.js:17918 at completeOutstandingRequest (angular.js:5552) at angular.js:5829

mariahlynne avatar Jan 15 '16 22:01 mariahlynne

Hi,

I think the errors are thrown by jsoneditor instead of ng-jsoneditor. Please raise this issue with them for a possible solution.

Thanks

angular-tools avatar Jan 16 '16 15:01 angular-tools

I did - they stated it's on the angular end and to make an issue here. https://github.com/josdejong/jsoneditor/issues/254

mariahlynne avatar Jan 16 '16 18:01 mariahlynne

Ok, will have a look

angular-tools avatar Jan 16 '16 22:01 angular-tools

pr #7 fixes this issue.

baslr avatar Feb 04 '16 22:02 baslr

@angular-tools #7 has been merged. Any plans to release a new version to Bower any time soon? Thanks!

doingweb avatar Mar 21 '16 20:03 doingweb

So, guys how look your plans (month/year) for new release version to Bower? We still on a ng-jsoneditor:master version for bower which is a bit danger for our project :) Thanks!

orifn avatar Nov 24 '16 16:11 orifn