Allow multiple unsetColumns calls

Hi @johnny!

I would love if you add support to allowing multiple unsetColumns calls without loosing all the previous ones, there are several use cases for this (like unsetting columns in a method or two).

        $crud->unsetColumns(['contactLastName']);
        $crud->unsetColumns(['phone']);
        $crud->unsetColumns(['city']);

Instead of

$crud->unsetColumns(['contactLastName', 'phone', 'city']);

Thanks in advance!

1 Like

Good idea. I have added it for the next version and also the same logic for the unsetFields

1 Like

I am glad to inform you that this is now available for the latest version of Grocery CRUD version 3.1.11 :slight_smile:

1 Like