fix: single use card text filling error (#4514)

Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
This commit is contained in:
Piyush Gupta
2024-12-20 14:56:48 +05:30
committed by GitHub
parent 2c1f473bbe
commit 2433d40918
@@ -432,7 +432,7 @@ export const ResponseOptionsCard = ({
id="heading"
className="mb-4 mt-2 bg-white"
name="heading"
defaultValue={singleUseMessage.heading}
value={singleUseMessage.heading}
onChange={(e) => handleSingleUseSurveyMessageChange({ heading: e.target.value })}
/>
@@ -441,7 +441,7 @@ export const ResponseOptionsCard = ({
className="mb-4 mt-2 bg-white"
id="subheading"
name="subheading"
defaultValue={singleUseMessage.subheading}
value={singleUseMessage.subheading}
onChange={(e) => handleSingleUseSurveyMessageChange({ subheading: e.target.value })}
/>
<Label htmlFor="headline">{t("environments.surveys.edit.url_encryption")}</Label>