Skip to content

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

@arunarivarasan

Description

@arunarivarasan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions