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

Prefer label not working for arrays #162

Closed
rabauss opened this issue Nov 26, 2024 · 0 comments · May be fixed by #163
Closed

Prefer label not working for arrays #162

rabauss opened this issue Nov 26, 2024 · 0 comments · May be fixed by #163

Comments

@rabauss
Copy link
Contributor

rabauss commented Nov 26, 2024

If the label and value data are an array, for example because they were enriched via the prepareFormData hook, the label is no longer resolved correctly in the label listener:

$this->stringParser->flatten(StringUtil::deserialize($record['label'] ?: $record['value']), $record['name'], $tokens);

Before the last change 1aa3063 it was working correctly

How can we fix that?

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

Successfully merging a pull request may close this issue.

1 participant