Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62139

Extended choice parameter array delete then add fails

XMLWordPrintable

      When using array's, deleting any entry using the 'x item' button and then trying to add a new entry with '+ item'  button fails.

      Error:

      jsoneditor.min.js:3 Uncaught TypeError: Cannot read property 'style' of null
      at HTMLButtonElement.<anonymous> (jsoneditor.min.js:3)

      However, the code runs as expected on the JSON Editor Example page (http://jeremydorn.com/)

      Sample Schema:

      {
         title":"Test array",
         "type":"object",
         "properties":{
         "Tester": { "type":"array",
         "items": { "type":"object",
         "properties":

      {     "myitem":\{"type":"string"}

      }
      }

      }
      }
      }

            vimil vimil
            harvash Chris Anderson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: