From cd217e47c74d3a9ee101ee7d7281dffca4d52e72 Mon Sep 17 00:00:00 2001 From: Mohammad Javad Date: Sat, 29 May 2021 15:44:29 +0430 Subject: [PATCH] Fix formfield options not showing --- src/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.php b/src/helpers.php index 0dbe922..8f8e584 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -17,7 +17,7 @@ function theme_field($type, $key, $title, $content = '', $details = '', $placeho $row->required = $required; $row->field = $key; $row->type = $type; - $row->details = $details; + $row->details = json_decode($details); $row->display_name = $placeholder; $dataTypeContent = new class{ public function getKey(){} };