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

Plaintext control renderer is not loading data or binding it to the textfield when the key contains a dot #2184

Closed
arunarivarasan opened this issue Oct 5, 2023 · 2 comments

Comments

@arunarivarasan
Copy link

Describe the bug

The Plaintext control renderer is not loading data or binding it to the textfield when the key contains a dot, as in the following schema and data example
schema = {
“type”: “object”,
“properties”: {
“name.test”: {
“type”: “string”
}
},
“required”:
}

data = {
‘name.test’: ‘John Doe’
}

currently i am seeing empty data
looking for direction how to fix this

Expected behavior

control load with value "John Doe"

Steps to reproduce the issue

use plaintext control renderer
use following schema and data
schema = {
“type”: “object”,
“properties”: {
“name.test”: {
“type”: “string”
}
},
“required”:
}

data = {
‘name.test’: ‘John Doe’
}

textfield will be empty and label is without dot.

Screenshots

No response

In which browser are you experiencing the issue?

117.0.5938.150

Which Version of JSON Forms are you using?

3.1.0

Framework

Core

RendererSet

Other (please specify in the Additional context field)

Additional context

we use fluentUI as system design

@lucas-koehler
Copy link
Contributor

Hi @arunarivarasan ,
thank you for the report. This is a known issue and a solution is currently in development via #2153 . Thus, I close this issue.

@lucas-koehler lucas-koehler closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2023
@arunarivarasan
Copy link
Author

arunarivarasan commented Oct 6, 2023

Hi @lucas-koehler can we use patch if you can share the commit so we can use it now and later upgrade. Also can you share the expected timeline for version 4 ?
if this commit get merged to master #2168 can we patch and use it? when we can expect to get this merged
currently using caf7383 commit to patch. is the right one ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants