Skip to content

Commit

Permalink
Added validation flag for inputRequired from UISpec (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
GSPrakash2662 authored Jan 23, 2025
1 parent b1e8046 commit edeafd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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 @@ -70,6 +70,10 @@ class _NewProcessScreenContentState extends State<NewProcessScreenContent> {
return const SizedBox.shrink();
}

if (e.inputRequired == false) {
return const SizedBox.shrink();
}

switch (e.controlType) {
case "checkbox":
if (e.subType == "gender") {
Expand Down

0 comments on commit edeafd0

Please sign in to comment.