Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Address Characters Displayed as Individual Clickable Email Links in Timeline #8264

Open
harshrajeevsingh opened this issue Oct 31, 2024 · 4 comments
Labels
type: bug Something isn't working

Comments

@harshrajeevsingh
Copy link
Contributor

Bug Description

When entering a new email address, the timeline section displays each character of the email address as an individual clickable link. For instance, an email like [email protected] appears with each character as its own email button, so clicking on a prompts an email composition to "a", clicking sprompts an email to "s", and so on. This behavior misinterprets the email address as separate parts rather than a single entity.

Screenshot from 2024-10-31 23-22-08

Screencast.from.2024-10-31.23-06-29.webm

Expected Behaviour

The entire email address should be a single clickable link.

Screenshot from 2024-10-31 23-09-02

@harshrajeevsingh harshrajeevsingh added the type: bug Something isn't working label Oct 31, 2024
@harshit078
Copy link
Contributor

This behaviour is caused by how additionalEmails are treated in the codebase. Making sure it is treated as an array can solve this issue

@harshrajeevsingh
Copy link
Contributor Author

@harshit078 Yes, If you see the last screenshot, I parsed the additionalEmail and it worked. But I'm not sure if this is the correct solution. Because if you console log fieldValues, first you will see the correct additionalEmails but then it somehow changes to a stringified version.
I'm still looking into this.

@Bonapara
Copy link
Member

Bonapara commented Nov 1, 2024

I think we had another issue for this but can't find it

@harshrajeevsingh
Copy link
Contributor Author

@Bonapara maybe this #7262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants