Skip to content
Snippets Groups Projects
Commit 67c92b2a authored by Liam Morland's avatar Liam Morland
Browse files

Issue #3274071: Show non-matching PDF keys when uploading a new PDF to a form

parent 24c65916
No related branches found
No related tags found
No related merge requests found
...@@ -552,7 +552,7 @@ class FillPdfFormForm extends ContentEntityForm { ...@@ -552,7 +552,7 @@ class FillPdfFormForm extends ContentEntityForm {
'#prefix' => $this->t("These keys couldn't be found in the new PDF:"), '#prefix' => $this->t("These keys couldn't be found in the new PDF:"),
[ [
'#theme' => 'item_list', '#theme' => 'item_list',
'#items' => array_keys($non_matching_fields), '#items' => $non_matching_fields,
], ],
]; ];
$this->messenger()->addWarning($this->renderer->render($message)); $this->messenger()->addWarning($this->renderer->render($message));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment