mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-01 15:09:33 +08:00
fix: expose table filter indicators as an accessible list (#20343)
Co-authored-by: Lee Evans <lee@optimacloud.pro> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -839,7 +839,10 @@
|
||||
{{ __('filament-tables::table.filters.indicator') }}
|
||||
</span>
|
||||
|
||||
<div class="fi-ta-filter-indicators-badges-ctn">
|
||||
<div
|
||||
class="fi-ta-filter-indicators-badges-ctn"
|
||||
role="list"
|
||||
>
|
||||
@foreach ($filterIndicators as $indicator)
|
||||
@php
|
||||
$indicatorColor = $indicator->getColor();
|
||||
@@ -847,6 +850,7 @@
|
||||
|
||||
<x-filament::badge
|
||||
:color="$indicatorColor"
|
||||
role="listitem"
|
||||
>
|
||||
{{ $indicator->getLabel() }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user