[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
29
vendor/filament/tables/resources/views/components/column-toggle/dropdown.blade.php
vendored
Normal file
29
vendor/filament/tables/resources/views/components/column-toggle/dropdown.blade.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
@props([
|
||||
'form',
|
||||
'maxHeight' => null,
|
||||
'triggerAction',
|
||||
'width' => 'xs',
|
||||
])
|
||||
|
||||
<x-filament::dropdown
|
||||
:max-height="$maxHeight"
|
||||
placement="bottom-end"
|
||||
shift
|
||||
:width="$width"
|
||||
wire:key="{{ $this->getId() }}.table.column-toggle"
|
||||
{{ $attributes->class(['fi-ta-col-toggle']) }}
|
||||
>
|
||||
<x-slot name="trigger">
|
||||
{{ $triggerAction }}
|
||||
</x-slot>
|
||||
|
||||
<div class="grid gap-y-4 p-6">
|
||||
<h4
|
||||
class="text-base font-semibold leading-6 text-gray-950 dark:text-white"
|
||||
>
|
||||
{{ __('filament-tables::table.column_toggle.heading') }}
|
||||
</h4>
|
||||
|
||||
{{ $form }}
|
||||
</div>
|
||||
</x-filament::dropdown>
|
||||
Reference in New Issue
Block a user