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

For select multiple button for selectall and deselectall #105

@Giovanni-Petrella

Description

@Giovanni-Petrella

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions