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 shows fields that were left blank in form #432

Open
muratbinerbay opened this issue Jan 16, 2024 · 1 comment
Open

Email shows fields that were left blank in form #432

muratbinerbay opened this issue Jan 16, 2024 · 1 comment

Comments

@muratbinerbay
Copy link

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Recently updated to the latest version (from 4.x) and fields that have been left blank in the form have [NO VALUE] in the email. Which was added here: #410
Tagged it as a bug because it looks wrong in the email in my opinion

Before the field would not be in the email when there was no value provided in the form. Do we need to remove the empty fields ourselves by implementing a new FormValuesOutputApplier or by overriding the twig templates?

@muratbinerbay
Copy link
Author

I ended up overriding FormFieldWidget::parseSimpleField to pass an empty string instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant