mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-31 20:39:11 -06:00
Feat:Toggle Multi-Select and Single-Select Question Types
This commit is contained in:
@@ -223,6 +223,15 @@ export default function MultipleChoiceMultiForm({
|
||||
Add "Other"
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
size="sm"
|
||||
variant="minimal"
|
||||
type="button"
|
||||
onClick={() => {
|
||||
updateQuestion(questionIdx, { type: "multipleChoiceSingle" });
|
||||
}}>
|
||||
Convert to Single Select
|
||||
</Button>
|
||||
|
||||
<div className="flex flex-1 items-center justify-end gap-2">
|
||||
<Select
|
||||
|
||||
@@ -223,6 +223,15 @@ export default function MultipleChoiceSingleForm({
|
||||
Add "Other"
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
size="sm"
|
||||
variant="minimal"
|
||||
type="button"
|
||||
onClick={() => {
|
||||
updateQuestion(questionIdx, { type: "multipleChoiceMulti" });
|
||||
}}>
|
||||
Convert to Multi Select
|
||||
</Button>
|
||||
|
||||
<div className="flex flex-1 items-center justify-end gap-2">
|
||||
<Select
|
||||
|
||||
Reference in New Issue
Block a user