JSONSchema form import fails to create child fields
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 40.9k
- Forks
- 5.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 202
Description
Version Information
tooljet-ce:v3.20.160-lts
Environment
Docker
What is the expected behaviour?
Imported forms from JSONSchema should behave the same as those manually constructed or imported from raw data
What is the current behaviour?
JSONSchema imported forms don't have any children in the inspector and don't have any formData. They only have a .data property containing the field values. Fields cannot be edited in the editor.
How to reproduce the issue?
- Drag a form onto an app
- Select import from jsonschema and accept the example schema
- Observe that the fields do not show up in the inspector and cannot be individually edited
Screenshots or Screencast
Please provide any traces or logs that could help here.
None relevant that I can see
Any possible solutions?
None, other than manually building forms or building from json data and editing
Can you identify the location in the driver source code where the problem exists?
No
If the bug is confirmed, would you be willing to submit a PR?
Maybe
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue through the form's “import from jsonschema” entry point and inspect how imported values are represented compared with manually constructed or raw-data forms. Done means imported fields appear as children in the inspector, can be edited individually, and expose formData rather than only a data property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100