This will be a short one - since not everything we've been working on this month has also been launched. And we don't want to bother yo...
This will be a short one - since not everything we've been working on this month has also been launched. And we don't want to bother you with every small thing we did, only the bigger exciting ones.
So here it is. Here's what's happened since our last report (June 13th):
You can now add a switch
field instead of a checkbox
, which looks a lot prettier:
And there are quite a few aesthetic customizations you can make, right from the field definition:
$this->crud->addField([
'name' => 'checkbox',
'label' => 'I have not read the terms and conditions and I never will.',
'type' => 'switch',
'tab' => 'Simple',
// 'color' => 'danger',
'options' => [
'',
'β',
],
]);
I don't know about you, but I'm always going to use this instead of checkbox
! π You can read more about this field type in its docs. It's a free, non-breaking change, so you can easily get it with a simple composer update
. Please say thanks to Antonio Almeida for creating this, it's his baby!
If you're wondering "how about the toggle addon" - that's still there, but it limited us in some respects. That's why we decided to refactor it, and include it in Backpack\CRUD. We'll keep maintaining digitallyhappy/toggle-field-for-backpack, but... no more features. So if you can, please use the official toggle
instead.
Pedro has been working very hard on a few cool things. One of them is ExportOperation - a server-side alternative to the DataTables export we have now, that will:
I think a lot of people will appreciate it. I know I will - I've been dying for an easy way to create an "export invoices" functionality, for accounting. Now it'll not just be possible, but easy π We're probably 80% done with it - so there's only 80% more left, right? π Expect it next month, if not sooner. It'll most likely be available as part of PRO, so if you purchased that, you'll get it for free.
That's it from us this month. A lot more has happened behind the scenes, that you'll see in the following months, but we shouldn't say anything yet.
Thanks for using Backpack, we love doing this for you π
Cheers!
Subscribe to our "Article Digest". We'll send you a list of the new articles, every week, month or quarter - your choice.
What do you think about this?
Wondering what our community has been up to?