Skip to content

Commit

Permalink
fix(surveys): open text value bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liyiy committed Oct 5, 2023
1 parent 5f493d2 commit c3874b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/surveys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export const createOpenTextOrLinkPopup = (
formElement.addEventListener('input', (e: any) => {
if (formElement.querySelector('.form-submit')) {
const submitButton = formElement.querySelector('.form-submit') as HTMLButtonElement
submitButton.disabled = !e.data
submitButton.disabled = !e.target.value
}
})

Expand Down

0 comments on commit c3874b4

Please sign in to comment.