Ver código fonte

260421 esg段落表格將卡片功能預設為否

OMEGA\lulufj.ho 1 mês atrás
pai
commit
6d102d0cfb
1 arquivos alterados com 11 adições e 1 exclusões
  1. 11
    1
      app/Filament/Resources/EsgResource.php

+ 11
- 1
app/Filament/Resources/EsgResource.php Ver arquivo

@@ -175,7 +175,17 @@ class EsgResource extends Resource
175 175
                             Group::make()->schema([
176 176
                                 Section::make('表格設定')->schema([
177 177
                                     Hidden::make('content.is_card')
178
-                                        ->default('0'),
178
+                                    ->default('0'),
179
+                                    /*
180
+                                    Radio::make('content.is_card')
181
+                                            ->label('手機板卡片顯示')
182
+                                            ->options([
183
+                                                '1' => '是',  // 改為數字鍵值
184
+                                                '0' => '否'
185
+                                            ])
186
+                                            ->default('1')
187
+                                            ->inline(),
188
+                                    */
179 189
                                     // 表格資料
180 190
                                     Placeholder::make('table_builder_info')->label("")->content('請先設定表格欄數,然後填入表格資料'),
181 191
                                     Grid::make(3)->schema([