Skip to content

Commit

Permalink
Removed group from the types disallowed for the required toggle to be…
Browse files Browse the repository at this point in the history
… available
  • Loading branch information
ZardenSawtooth committed Aug 21, 2024
1 parent cd9b63f commit f726c48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/helpers/questionTypeFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export const canTypeHaveSublabel = (item: QuestionnaireItem): boolean => {

export const canTypeBeRequired = (item: QuestionnaireItem): boolean => {
return (
item.type !== IQuestionnaireItemType.group &&
item.type !== IQuestionnaireItemType.display &&
!isItemControlInline(item) &&
!isItemControlHighlight(item) &&
Expand Down

0 comments on commit f726c48

Please sign in to comment.