소스 검색

updated items

Josh 4 년 전
부모
커밋
01399b8449
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      resources/views/app/patient/canvas-sections/allergies/form.blade.php

+ 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);
 ?>