Skip to content

Commit

Permalink
fix: matrix survey sync issue (formbricks#3283)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruwang authored Oct 4, 2024
1 parent f38a466 commit e31e9f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const MatrixQuestionForm = ({
{question.rows.map((_, index) => (
<div className="flex items-center" onKeyDown={(e) => handleKeyDown(e, "row")}>
<QuestionFormInput
key={`row-${index}`}
key={`row-${index}-${question.rows.length}`}
id={`row-${index}`}
label={""}
localSurvey={localSurvey}
Expand Down Expand Up @@ -177,7 +177,7 @@ export const MatrixQuestionForm = ({
{question.columns.map((_, index) => (
<div className="flex items-center" onKeyDown={(e) => handleKeyDown(e, "column")}>
<QuestionFormInput
key={`column-${index}`}
key={`column-${index}-${question.columns.length}`}
id={`column-${index}`}
label={""}
localSurvey={localSurvey}
Expand Down

0 comments on commit e31e9f4

Please sign in to comment.