You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
Offline form does not use name and email as set by livechat widget methods: setGuestName(), setGuestEmail()
Steps to reproduce:
Initialize a livechat widget.
Call these methods:
RocketChat(function() {
this.setGuestName("Johnathan J. Doe");
this.setGuestEmail("[email protected]");
});
Open a chat window while omnichannel is offline.
Expected behavior:
The form should either
a. get populated with values as specified by methods
b. not show those fields at all and send the populated data along with the form submissiobn
Actual behavior:
Form fields name and email are empty. livechat widget methods have no effect.
Server Setup Information:
Version of Rocket.Chat Server: 3.13.2
Operating System: Ubuntu 20.04
Deployment Method: Snap
Number of Running Instances: 1
NodeJS Version: v12.21.0
MongoDB Version: 3.6.14 / wiredTiger (oplog Enabled)
Client Setup Information
Desktop App or Browser Version: Firefox 78.8.0esr, Chrome Version 90.0.4430.85 (Official Build) (x86_64)
Operating System: OSX 10.11
The text was updated successfully, but these errors were encountered:
@renatobecker - thanks for your response and for the update. Maybe I'm not understanding but when a user fills the form it sets their name and email so that on subsequent page loads the livechat widget no longer prompts them for that data. My expectation is that when those values are set programmatically it would have the same effect. Does that make sense?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description:
Offline form does not use name and email as set by livechat widget methods: setGuestName(), setGuestEmail()
Steps to reproduce:
RocketChat(function() {
this.setGuestName("Johnathan J. Doe");
this.setGuestEmail("[email protected]");
});
Expected behavior:
The form should either
a. get populated with values as specified by methods
b. not show those fields at all and send the populated data along with the form submissiobn
Actual behavior:
Form fields
name
andemail
are empty. livechat widget methods have no effect.Server Setup Information:
Client Setup Information
The text was updated successfully, but these errors were encountered: