Form placeholder attribute outputs even if empty? #6707
-
Hi, In my form, I'm using this to conditionally show
But it outputs
This is my partial
How come the if statement doesn't work?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
what does Also, let's see the form blueprint. |
Beta Was this translation helpful? Give feedback.
-
Apologies for the late reply. I figured out what my issue was... I had a global called placeholder {{ placeholder | dump }} was referencing that global! |
Beta Was this translation helpful? Give feedback.
Apologies for the late reply.
I figured out what my issue was...
I had a global called placeholder
{{ placeholder | dump }} was referencing that global!