Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

For select multiple button for selectall and deselectall #105

Open
Giovanni-Petrella opened this issue Aug 17, 2023 · 0 comments
Open

For select multiple button for selectall and deselectall #105

Giovanni-Petrella opened this issue Aug 17, 2023 · 0 comments

Comments

@Giovanni-Petrella
Copy link

I propose adding buttons to check or uncheck all options in form-select by adding this code that works perfectly for me:

@if ($multiple && $attributes->get('disabled') != true) <div class="mb-1 w-100"> <span class="btn btn-outline-info btn-xs select-all" style="border-radius: 0"><i class="fas fa-check"></i> {{ trans('global.select_all') }}</span> <span class="btn btn-outline-info btn-xs deselect-all" style="border-radius: 0"><i class="fas fa-times"></i> {{ trans('global.deselect_all') }}</span> </div> @endif <select @if ($isWired()) wire:model{!! $wireModifier() !!}="{{ $name }}" @else name="{{ $name }}" @endif....
Peek 17-08-2023 19-33.webm

@Giovanni-Petrella Giovanni-Petrella changed the title For select multiple button for select multiple For select multiple button for selectall and deselectall Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant