Laravel-Backpack / CRUD

Build custom admin panels. Fast!
https://backpackforlaravel.com
MIT License
3.04k stars 885 forks source link

Add all select option on checklist field #5559

Closed pxpm closed 1 month ago

pxpm commented 1 month ago

This is a super-seed of #3989

I couldn't push to @kamrul-bd branch because his fork was outdated and was missing branches I didn't had permission to create.

This addresses @tabacitu review request on the mentioned PR.

A simple, Select All -> Unselect All anchor in the field, nothing fancy.

image

Docs: https://github.com/Laravel-Backpack/docs/pull/585

tabacitu commented 1 month ago

I agree with an "Unselect all" if we have a "Select all". Please makes sure it looks good @pxpm - right now in the screenshot it looks like it's smack-down the first thing in the field. Which doesn't make sense, this button is an ACCESSORY, not the first thing a person should see. Don't know where it would make sense. Some ideas: