question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option: form_name_root does not seem to chance "root" to different value

See original GitHub issue

General information

Expected behavior

When changing the value in the schema “options” it should change the attributes created from root[] to {form_name_roo}[].

Actual behavior

After change attributes still show “root”

Steps to reproduce the behavior

Direct link to example: https://json-editor.github.io/json-editor/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgogiFUJhO3cW1hRsulCADCZKQsiwEyNCAAmMRGTxneWbAIiI5lBSIlRsbh5eVLxUbnwctPCowaHh7p7eEFKQVFKwNMkhYcTSdLzwZAy82WDiFiRgIAC+bFk5eTAFzrIA1uaa2uaKwTDwAOYKVPAidKgA2iAAKmDC5AoAQgCyAOoKABIILmQKAGLSLgqWqgBuggoAarsAui0gdGAuVPLOWjqEiCNxs02IIqDYNCBfkNRlAqGNcpNprMUHMAIwATnRjBYGPRADYcZiAOyE9EADlJ6JYACYAAz0mn01GM2nUlkAZhZABYWdi6bSCfySfyKfyqXTUbTGajmRK2RLORKuU9wlQiGQRNg6iLXh4iFQtBCoYQYXCEWwSDIyHUQFJraMJmxZAAPGB0GaEZhsKjOjDYESIGDXKibMiu93I9XYQJsKRglw4O4oKOBJpptiIZRgCgxKTZKROECmu08OBJYyqBiEPBgWoAu0QLnNJpAA===

{
  "type": "object",
  "title": "Car",
  "options": {
    "disable_collapse": true,
    "disable_edit_json": true,
    "disable_properties": true,
    "form_name_root": "foo"
  },
  "properties": {
    "make": {
      "type": "string",
      "enum": [
        "Toyota",
        "BMW",
        "Honda",
        "Ford",
        "Chevy",
        "VW"
      ]
    },
    "model": {
      "type": "string"
    },
    "year": {
      "type": "integer",
      "enum": [
        1995,
        1996,
        1997,
        1998,
        1999,
        2000,
        2001,
        2002,
        2003,
        2004,
        2005,
        2006,
        2007,
        2008,
        2009,
        2010,
        2011,
        2012,
        2013,
        2014
      ],
      "default": 2008
    },
    "safety": {
      "type": "integer",
      "format": "rating",
      "maximum": "5",
      "exclusiveMaximum": false,
      "readonly": false
    }
  }
}

Just don’t know if this is known thing or I screwed something up.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
schmunk42commented, Dec 14, 2020

From your comment https://github.com/json-editor/json-editor/pull/876#issuecomment-744605452 I suppose we can close this. Thanks for reporting!

0reactions
schmunk42commented, Dec 14, 2020

@mstaragrieb We’ve just merged https://github.com/json-editor/json-editor/pull/876 - please have a look

Read more comments on GitHub >

github_iconTop Results From Across the Web

TH1 Class Reference - ROOT
The method used is to double the bin size until the new value fits in the range, merging bins two by two. This...
Read more >
How to change context root of a dynamic web project in Eclipse?
In your project's Properties, choose Web Project Settings. Change Context root to app. screen shot of Eclipse project properties Web Project Settings.
Read more >
Building ROOT from source
It is not supported to build ROOT in the source directory. Then change ( cd ) to the build directory: $ mkdir <builddir>...
Read more >
How to setup Remote Execution using non-root user on RHEL ...
When executing scheduling a job, click on Display advanced fields >> specify the options Effective user , Password and Sudo password , which ......
Read more >
Troubleshoot form issues in model-driven apps - Microsoft Learn
They don't change system customizations or affect any other users or sessions. ... except it does not take an event name as the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found