Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Schema with special characters like "." in the key not rendering properly #2335

Closed
pjeschba opened this issue May 8, 2024 · 1 comment

Comments

@pjeschba
Copy link

pjeschba commented May 8, 2024

Describe the bug

I'm not able to properly render data stored inside a json schema key with a special character like a period. I'm using JSONForms.io and React and have tried both the stock material/vanilla renderers and writing my own custom renderer, but when the data is nested within a key like 123.123 it is not properly piped into the ControlProps for access by my custom renderer. Unless there is some way to escape special characters that I am missing this feels like a bug.

Expected behavior

JSON Keys containing periods should properly render in JSON Forms in react.

Steps to reproduce the issue

  1. Build a json blob that has keys containing periods
  2. Try to render that data using JSONForms in React
  3. Observe that it does not work

Screenshots

No response

Which Version of JSON Forms are you using?

3

Framework

No response

RendererSet

No response

Additional context

No response

@lucas-koehler
Copy link
Contributor

Hi @pjeschba , thanks for raising this issue :)
This is a known bug that is captured and will be solved here: #2153
Thus, I'll close this as a duplicate.

@lucas-koehler lucas-koehler closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants