-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add control overrides for checkbox and switch (#390)
- Loading branch information
1 parent
999488d
commit 292811e
Showing
9 changed files
with
220 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
packages/codegen-ui/example-schemas/workflow/checkboxControlledElement.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"id": "1234-5678-9010", | ||
"componentType": "Flex", | ||
"name": "CheckboxControlledElement", | ||
"properties": {}, | ||
"children": [ | ||
{ | ||
"componentType": "CheckboxField", | ||
"name": "Input", | ||
"properties": {} | ||
}, | ||
{ | ||
"componentType": "Text", | ||
"name": "CheckboxFieldValue", | ||
"properties": { | ||
"label": { | ||
"componentName": "Input", | ||
"property": "checked" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
24 changes: 24 additions & 0 deletions
24
packages/codegen-ui/example-schemas/workflow/switchControlledElement.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"id": "1234-5678-9010", | ||
"componentType": "Flex", | ||
"name": "SwitchControlledElement", | ||
"properties": {}, | ||
"children": [ | ||
{ | ||
"componentType": "SwitchField", | ||
"name": "Input", | ||
"properties": {} | ||
}, | ||
{ | ||
"componentType": "Text", | ||
"name": "SwitchFieldValue", | ||
"properties": { | ||
"label": { | ||
"componentName": "Input", | ||
"property": "isChecked" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
Oops, something went wrong.