mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-04 03:16:15 -05:00
fix: don't allow spaces as "other" values in select questions (#5224)
This commit is contained in:
@@ -279,6 +279,7 @@ export function MultipleChoiceMultiQuestion({
|
||||
}
|
||||
required={question.required}
|
||||
aria-labelledby={`${otherOption.id}-label`}
|
||||
pattern=".*\S+.*"
|
||||
/>
|
||||
) : null}
|
||||
</label>
|
||||
|
||||
@@ -237,6 +237,7 @@ export function MultipleChoiceSingleQuestion({
|
||||
}
|
||||
required={question.required}
|
||||
aria-labelledby={`${otherOption.id}-label`}
|
||||
pattern=".*\S+.*"
|
||||
/>
|
||||
) : null}
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user