ソースを参照

updated items

Josh 4 年 前
コミット
01399b8449

+ 9 - 0
resources/views/app/patient/canvas-sections/allergies/form.blade.php

@@ -8,6 +8,15 @@ if(!$contentData) {
             ]
         ]
     ];
+
+    if(!isset($contentData['items'])){
+        $contentData['items'] =  [
+            [
+                "title" => "",
+                "detail" => "",
+            ]
+        ];
+    }
 }
 $formID = rand(0, 100000);
 ?>