Email field removal issue in 'Send Example' modal #13716
Labels
bug
Issues or PR's relating to bugs
email
Anything related to email
user-interface
Anything related to appearance, layout, and interactivity
Mautic Version
5.0.x series
Way of installing
I downloaded a release from https://www.mautic.org/mautic-releases
PHP version
8.0.2
What browsers are you seeing the problem on?
Chrome
What happened?
When we create an email in Mautic and want to send a sample email to an email address, it allows us to remove the email field and send it to no one. The only email field for sending a test email should not be allowed to be removed; the "x" button should be disabled or removed.
How can we reproduce this issue?
Step 1: Go to Channels > Email.
Step 2: Click on "+ New" to create a new email.
Step 3: Select the option to create a "Template email".
Step 4: Fill in the "Subject" and "Internal name" fields.
Step 5: Choose an email template.
Step 6: Then, click on "Save & Close".
Step 7: On the email details page, at the top right corner, click on the "Send Example" button.
Step 8: A modal will appear for sending an example email. Click on the "X" button next to the email field.
Step 9: It allows us to remove the only email field available. Now, click on "Send", and note that it permits sending an email to no one.
Relevant log output
Code of Conduct
Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.
The text was updated successfully, but these errors were encountered: