Skip to content

Commit

Permalink
Ensure required MVEA fields are marked 'required' in the DOM for Core…
Browse files Browse the repository at this point in the history
…Enroller (CFM-324) (#356)
  • Loading branch information
arlen authored Dec 18, 2025
1 parent 7651e88 commit c411081
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
$isRequiredFromValidationRule = !$modelTable->getValidator()->field($field)->isEmptyAllowed();
}

// Is the field required?
$options['required'] = $isRequiredFromValidationRule;

// Do we have a default value configured?
// Either a value or an Environmental Variable,
// Each default value is mutually exclusive to the rest. We do not have to worry about a conflict.
Expand Down

0 comments on commit c411081

Please sign in to comment.