Skip to content

[Bug] Switch color broken #5756

@NuktukDev

Description

@NuktukDev

Bug report

The switch background color was broken 4 days ago.

What I did

I used the switch.

What I expected to happen

It would take the default background color defined by tabler.

What happened

It shows a blank color.

What I've already tried to fix it

I fixed it already.

Is it a bug in the latest version of Backpack?

Yes.

After I run composer update backpack/crud the bug... is it still there?
Yes.

Backpack, Laravel, PHP, DB version

Latest backpack, laravel 10, php 8.

When I run php artisan backpack:version the output is:

backpack/basset: 1.3.6
backpack/crud: 6.7.50
backpack/generators: v4.0.7
backpack/medialibrary-uploaders: 1.2.1
backpack/pro: 2.2.32
backpack/theme-tabler: 1.2.17

Additional Information

There is a class switch-{{ $field['color'] }} that doesn't make sense to me, I removed it.

Here's some more info that could be helpful in reproducing or debugging:

  • Environment details (e.g., operating system, web server, browser): ??
  • Relevant error logs or screenshots (if any): ??

Note: Issues that cannot be reproduced or lack necessary details to diagnose could be closed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions