Skip to content

Commit

Permalink
fix: change to singular checkbox with child
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-belcher committed Nov 15, 2023
1 parent 38d67ee commit a8508da
Showing 1 changed file with 12 additions and 32 deletions.
44 changes: 12 additions & 32 deletions src/services/ui/src/pages/form/proto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -565,16 +565,15 @@ export const ABP1: Document = {
],
},
{
description:
"Is there an additional incremental amount?",
slots: [
{
rhf: "Radio",
rhf: "Checkbox",
name: "is_incremental_amount",
props: {
options: [
{
label: "Yes",
label:
"There is an additional incremental amount.",
value: "yes",
form: [
{
Expand Down Expand Up @@ -602,10 +601,6 @@ export const ABP1: Document = {
},
],
},
{
label: "No",
value: "no",
},
],
},
},
Expand Down Expand Up @@ -698,14 +693,13 @@ export const ABP1: Document = {
],
},
{
rhf: "Radio",
rhf: "Checkbox",
name: "is_incremental_amount",
label:
"Is there an additional incremental amount?",
props: {
options: [
{
label: "Yes",
label:
"There is an additional incremental amount.",
value: "yes",
form: [
{
Expand Down Expand Up @@ -734,10 +728,6 @@ export const ABP1: Document = {
},
],
},
{
label: "No",
value: "no",
},
],
},
},
Expand Down Expand Up @@ -836,14 +826,13 @@ export const ABP1: Document = {
],
},
{
rhf: "Radio",
rhf: "Checkbox",
name: "is_incremental_amount",
label:
"Is there an additional incremental amount?",
props: {
options: [
{
label: "Yes",
label:
"There is an additional incremental amount.",
value: "yes",
form: [
{
Expand Down Expand Up @@ -872,10 +861,6 @@ export const ABP1: Document = {
},
],
},
{
label: "No",
value: "no",
},
],
},
},
Expand Down Expand Up @@ -971,14 +956,13 @@ export const ABP1: Document = {
],
},
{
rhf: "Radio",
rhf: "Checkbox",
name: "is_incremental_amount",
label:
"Is there an additional incremental amount?",
props: {
options: [
{
label: "Yes",
label:
"There is an additional incremental amount.",
value: "yes",
form: [
{
Expand Down Expand Up @@ -1007,10 +991,6 @@ export const ABP1: Document = {
},
],
},
{
label: "No",
value: "no",
},
],
},
},
Expand Down

0 comments on commit a8508da

Please sign in to comment.