Skip to content

Commit 34b3ea4

Browse files
committed
Disable add option button when input is empty
Signed-off-by: don9x2E <revan@kakao.com>
1 parent 972f2ae commit 34b3ea4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Questions/AnswerInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<NcButton
6969
:aria-label="t('forms', 'Add a new answer option')"
7070
variant="tertiary"
71-
:disabled="isIMEComposing"
71+
:disabled="isIMEComposing || !canCreateLocalAnswer"
7272
@click="createLocalAnswer">
7373
<template #icon>
7474
<IconPlus :size="20" />

0 commit comments

Comments
 (0)