File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
resources/views/components/tools/filter-pills Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 55 {{
66 $attributes -> merge ($this -> getFilterPillsItemAttributes )
77 -> class ([
8- ' inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium leading-4 capitalize' => $isTailwind && ( $this -> getFilterPillsItemAttributes [' default-styling' ] ?? true ) ,
9- ' bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900' => $isTailwind && ( $this -> getFilterPillsItemAttributes [' default-colors' ] ?? true ) ,
10- ' badge badge-pill badge-info d-inline-flex align-items-center' => $isBootstrap4 && ( $this -> getFilterPillsItemAttributes [' default-styling' ] ?? true ) ,
11- ' badge rounded-pill bg-info d-inline-flex align-items-center' => $isBootstrap5 && ( $this -> getFilterPillsItemAttributes [' default-styling' ] ?? true ) ,
8+ ' inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium leading-4 capitalize' => $isTailwind && $this -> getFilterPillsItemAttributes [' default-styling' ],
9+ ' bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900' => $isTailwind && $this -> getFilterPillsItemAttributes [' default-colors' ],
10+ ' badge badge-pill badge-info d-inline-flex align-items-center' => $isBootstrap4 && $this -> getFilterPillsItemAttributes [' default-styling' ],
11+ ' badge rounded-pill bg-info d-inline-flex align-items-center' => $isBootstrap5 && $this -> getFilterPillsItemAttributes [' default-styling' ],
1212 ])
1313 -> except ([' default-styling' , ' default-colors' ])
1414 } }
1515>
1616 {{ $filterPillTitle } } :
1717
1818 @if (is_array ($filterPillValue ) )
19- {{ implode ($separator , $filterPillValue ) } }
19+ @foreach ($filterPillValue as $filterPillArrayValue )
20+ {{ $filterPillArrayValue } }{!! ! $loop -> last ? $separator : ' ' ! !}
21+ @endforeach
2022 @else
2123 {{ $filterPillValue } }
2224 @endif
You can’t perform that action at this time.
0 commit comments