From email ajax requests prevents entering a value easily

Created on 17 October 2023, almost 2 years ago

Problem/Motivation

The textfield for "To email" when "Custom To email address" is selected is doing an ajax call after every letter (on keyup maybe) which makes it difficult to enter any email address.

I imagine this comes form an ajax call that's checking for commas in the "From email". If there are any commas, it meann there are multiple "from" email addresses which means you that a "From name" can't be used.

Steps to reproduce

  • Go to "Settings" tab
  • Go to "Emails / Handlers" tab
  • Add a new email handler
  • Under "Send from", first click "From name" and choose "Custom from name". Add a value for the Custom from name
  • Now set From email to "Custom From email address"
  • Add a value for the email

Proposed resolution

I haven't looked into the code yet, I only have a few thoughts off the top of my head.

  1. Maybe a different ajax trigger might help, on blur or something.
  2. Maybe this is a validation that needs to happen on submit.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡«πŸ‡·France asherry

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024