PirateKittenP
Voiceflow Partners3mo ago
2 replies
PirateKitten

Rendering extensions differently on "rerender"

Webchat
Can an extension determine if it is part of the chat history at the time of rendering? I'm looking at the various extensions demos on github, and want to use something like the date picker. Once the user has submitted, the date picker + submit button would be replaced with text showing the date + time they selected.

The trouble is if the user refreshes the page / comes back to the conversation later, in the chat history this datetime picker is rendered from the start again using its initial state, like they never filled it in, whereas instead I would want it to look like its final state it reached before where it was just showing the date + time selected.
Was this page helpful?