aurovrata / cf7-grid-layout

A WordPress plugin extension for Contact Form 7 to design responsive grid-layout forms.
https://wordpress.org/plugins/cf7-grid-layout/
GNU General Public License v2.0
6 stars 7 forks source link

dynamic-dropdown field is failed #40

Closed ShenHsu closed 9 months ago

ShenHsu commented 10 months ago

When I create a dynamic-dropdown field, and make sure there's no blank space in front of "filter" as below screenshot, red highlight. img01

I press the insert tag and then find there's a blank space in front of "filter", but I don't known why... img02

The blank space will cause the warning as follow. It shows the 'Warning Undefined array key "source" in C:...', and the dynamic-dropdown field is failed. img04 img03

This problem can be temporarily solved if I deliberately remove the blank space in the inserted tag. img05

aurovrata commented 10 months ago

Thank you for reporting this issue,

I press the insert tag and then find there's a blank space in front of "filter", but I don't known why...

however this should not be happening. The js script hard codes the value "source:filter" which is inserted as is in the editor.

Can you try to create a new form and insert the dynamic list with a custom filter source to see if you can repeat the issue?

aurovrata commented 9 months ago

I haven't heard back from you, so I am assuming this is no longer an issue. If you are still facing an issue, please add your observations below and I will reopen the issue. For now I am closing it.