fix: Survey : Welcome Card Button is buggy (#1299)

This commit is contained in:
Abhinav Arya
2023-10-19 00:08:47 +05:30
committed by GitHub
parent 6872f202ed
commit 3a36f886da

View File

@@ -148,7 +148,7 @@ export default function EditWelcomeCard({
<Input
id="buttonLabel"
name="buttonLabel"
value={localSurvey?.welcomeCard?.buttonLabel || "Next"}
defaultValue={localSurvey?.welcomeCard?.buttonLabel || "Next"}
onChange={(e) => updateSurvey({ buttonLabel: e.target.value })}
/>
</div>