From 1af56dc8111a24cdf63012569b26901a6a6eed10 Mon Sep 17 00:00:00 2001 From: FabioL <1647128+loviuz@users.noreply.github.com> Date: Fri, 12 Jul 2024 09:04:54 +0200 Subject: [PATCH] Fix salvataggio e visualizzazione note checklist --- modules/checklists/modutil.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/checklists/modutil.php b/modules/checklists/modutil.php index 74ed656a8..d4e21a20e 100644 --- a/modules/checklists/modutil.php +++ b/modules/checklists/modutil.php @@ -60,7 +60,14 @@ if (!function_exists('renderChecklist')) { $result .= ' - {[ "type": "textarea", "class": "unblockable", "name": "note_checklist", "placeholder": "'.tr('Note').'...", "id": "note_'.$check->id.'", "value": "'.$check->note.'" ]} + '.input([ + 'type' => 'textarea', + 'name' => '', + 'id' => 'note_'.$check->id, + 'class' => 'unblockable', + 'placeholder' => tr('Note').'...', + 'value' => $check->note, + ]).' '; $result .= '