Skip to content

Instantly share code, notes, and snippets.

@berick
Created December 8, 2021 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berick/9d4155460f370e83a7f6cee46e024636 to your computer and use it in GitHub Desktop.
Save berick/9d4155460f370e83a7f6cee46e024636 to your computer and use it in GitHub Desktop.
- $scope.hold_notify_type.phone = Boolean(notify.match(/phone/));
- $scope.hold_notify_type.email = Boolean(notify.match(/email/));
- $scope.hold_notify_type.sms = Boolean(notify.match(/sms/));
+
+ // KCLS JBAS-2655 we don't use these. Set them to false
+ // so they will not require values in the form.
+ $scope.hold_notify_type.phone = false;
+ $scope.hold_notify_type.email = false;
+ $scope.hold_notify_type.sms = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment