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

Extended choice parameter array delete then add fails

    Details

    • Similar Issues:

      Description

      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"}

      }
      }

      }
      }
      }

        Attachments

          Activity

          Hide
          harvash Chris Anderson added a comment -

          Any updates on this?  I would really like to use the feature to +/- arrays.  Thank you!

          Show
          harvash Chris Anderson added a comment - Any updates on this?  I would really like to use the feature to +/- arrays.  Thank you!

            People

            • Assignee:
              vimil vimil
              Reporter:
              harvash Chris Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: