Giter Site home page Giter Site logo

Comments (5)

ps73 avatar ps73 commented on September 22, 2024 1

Fixed by using

this.editorOptions.onChange = () => {
      try {
          this.validateJson(this.schemaEditor.get(), 'schemaErrorMessages');
      } catch {}
};

from ang-jsoneditor.

mariohmol avatar mariohmol commented on September 22, 2024

Hi.. can u console log this.schemaEditor.get() ?

Maybe as you type the json is not complete.. so you have to do something to skip this event until the json is valid

from ang-jsoneditor.

ps73 avatar ps73 commented on September 22, 2024

But I did not get the errors if I didn't use the change method.
It would be much better if we can set a prop for the json-editor not to log own validation errors.

from ang-jsoneditor.

greatsayan avatar greatsayan commented on September 22, 2024

Hi,
I'm still facing this issue... How can I fixed that? I'm able to reproduce that on Stackblitz. (https://stackblitz.com/edit/ang-jsoneditor)
I see that the plugin is not up to date with jsoneditor (8.2.0 now) and couple of issues were fixed. Is it possible to updated your package to use the latest version of jsoneditor?
Thanks a lot!

from ang-jsoneditor.

mariohmol avatar mariohmol commented on September 22, 2024

this is updated to 8.3.0 .. can u double check please? if still an issue please reopen

from ang-jsoneditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.