Pull Request branch dev-clone to main #1
|
|
@ -286,6 +286,7 @@ export default function QuestionFormModal() {
|
||||||
placeholder="Jawaban"
|
placeholder="Jawaban"
|
||||||
readOnly={formType === "detail"}
|
readOnly={formType === "detail"}
|
||||||
{...form.getInputProps(`options.${index}.text`)}
|
{...form.getInputProps(`options.${index}.text`)}
|
||||||
|
disabled={mutation.isPending}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
<NumberInput
|
<NumberInput
|
||||||
|
|
@ -297,6 +298,7 @@ export default function QuestionFormModal() {
|
||||||
allowDecimal={false}
|
allowDecimal={false}
|
||||||
allowNegative={false}
|
allowNegative={false}
|
||||||
{...form.getInputProps(`options.${index}.score`)}
|
{...form.getInputProps(`options.${index}.score`)}
|
||||||
|
disabled={mutation.isPending}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
{formType !== "detail" && (
|
{formType !== "detail" && (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user