Skip to content

Commit

Permalink
Fixed the checkbox issue for gender selection when UI spec set to che…
Browse files Browse the repository at this point in the history
…ckbox (#192)

Signed-off-by: G S Prakash <[email protected]>
  • Loading branch information
GSPrakash2662 authored Oct 30, 2023
1 parent d28a32b commit 4b5e520
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ui/process_ui/widgets/new_process_screen_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {

switch (e.controlType) {
case "checkbox":
if (e.subType == "gender") {
return ButtonControl(field: e);
}
return CheckboxControl(field: e);
case "html":
return HtmlBoxControl(field: e);
Expand Down

0 comments on commit 4b5e520

Please sign in to comment.