Skip to content

Instantly share code, notes, and snippets.

@YonatanKra
Created February 20, 2023 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YonatanKra/b487a4b2cbad8fe6df110a2859359bc3 to your computer and use it in GitHub Desktop.
Save YonatanKra/b487a4b2cbad8fe6df110a2859359bc3 to your computer and use it in GitHub Desktop.
function prepareAnswerFromTextFields() {
return Array.from(card.querySelectorAll('vwc-text-field')).reduce((res, val) => res += val.value, '')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment