Skip to content

Commit

Permalink
(fix) O3-4437: Resolving the bug of loosing focus on ID (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
UNCANNY69 authored Feb 13, 2025
1 parent 535e8e9 commit 023276a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const QuestionModalContent: React.FC<QuestionModalProps> = ({
<Accordion size="lg">
{formField.questions.map((question, index) => (
<AccordionItem
key={question.id || `Question ${index + 1}`}
key={`Question ${index + 1}`}
title={question.label ?? `Question ${index + 1}`}
open={index === formField.questions?.length - 1}
className={styles.obsGroupQuestionContent}
Expand Down

0 comments on commit 023276a

Please sign in to comment.