Skip to content

Commit

Permalink
Change field type backing single checkboxes to List<String>
Browse files Browse the repository at this point in the history
  • Loading branch information
vrajmohan committed Feb 7, 2024
1 parent 8eeb03f commit e9caf79
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/main/java/org/mdbenefits/app/inputs/MdBenefitsFlow.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,14 +398,17 @@ public class MdBenefitsFlow extends FlowInputs {
@DynamicField
private String docType;

private String noOneHasDrugKingpinFelony;
private String noOneHasVolumeDrugDealerFelony;
private String noOneHasSexualOffenceConviction;
private String noOneIsViolatingParole;
private String noOneConvictedForLyingAboutBenefits;
private String noOneConvictedForTradingBenefits;
private String noOneIsReceivingBenefitsWithFakeID;

private String tcaAcknowledgementAgree;
private String ohepAcknowledgementAgree;
private List<String> noOneHasDrugKingpinFelony;
private List<String> noOneHasVolumeDrugDealerFelony;
private List<String> noOneHasSexualOffenceConviction;
private List<String> noOneIsViolatingParole;
private List<String> noOneConvictedForLyingAboutBenefits;
private List<String> noOneConvictedForTradingBenefits;
private List<String> noOneIsReceivingBenefitsWithFakeID;

@NotEmpty(message = "{error.missing-checkbox}")
private List<String> tcaAcknowledgementAgree;

@NotEmpty(message = "{error.missing-checkbox}")
private List<String> ohepAcknowledgementAgree;
}

0 comments on commit e9caf79

Please sign in to comment.