Closed fadhilx closed 1 year ago
i found a solution for this
i found out that checkbox id
attribute causing that behavior
add type: "object"
key as schema root property
{
"type":"object", //<----add this
"properties": {
"lorem": {
"title": "Lorem",
...
just add that to fix the behavior
at this point im not sure if its a bug or it just me who write invalid JSON format.
Has anybody found a solution for this? I am also facing this issue with Fluent UI.!
Prerequisites
Description
when there is two or more object that have same key with type
boolean
(which will become checkbox), when you click the checkbox thats not the first one, it will change the state of the first checkbox.Steps to Reproduce
open this playground link or use this schema:
make sure that you use fluent ui.
enabled
's checkbox on the UIExpected behavior
the next same property should be able to be click, cause it in different object not duplicated, i want to make this kind of output
Actual behavior
click at the next same property name checkbox cause it unchangeable and will change the first one
Version