Open rabauss opened 3 days ago
Fixes https://github.com/terminal42/contao-leads/issues/162 with incorrect label resolution in the label listener when label and value data are arrays.
Previously, the label listener incorrectly handled label and value data provided as arrays. This PR ensures that the correct label is used by iterating over both arrays and prioritizing non-empty labels.
Fixes https://github.com/terminal42/contao-leads/issues/162 with incorrect label resolution in the label listener when label and value data are arrays.
Previously, the label listener incorrectly handled label and value data provided as arrays. This PR ensures that the correct label is used by iterating over both arrays and prioritizing non-empty labels.