-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] "switch" field 'color' option is not working in theme-tabler #5735
Comments
@karandatwani92 busy building new application with backpack v6 and come across this issue... :-) |
@karandatwani92 just found out
these are not working for theme-tabler too
Do you want to just update the documentation with these compatibility notes, or should it be fixed for other themes as well? |
Hey @kiddtang just released fixes versions for themes and crud. |
@pxpm oh yeah... i didn't notice you fixed the on/off label too...
here is what i try to align by myself
thanks again. |
Thanks @kiddtang fixed in theme-tabler 1.2.17 👍 Cheers |
Bug report
What I did
try to use "switch" field
What I expected to happen
it should be in color '#00ff00',
What happened
the style
style="--bg-color: #00ff00;"
is in the field DOM but not reflected correctly.What I've already tried to fix it
Override the styles
but this only work if the color is defined in hex, not string 'primary'.
Is it a bug in the latest version of Backpack?
After I run
composer update backpack/crud
the bug... is it still there?Yes
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:backpack/basset: 1.3.6
backpack/crud: 6.7.43
backpack/filemanager: 3.0.10
backpack/generators: v4.0.7
backpack/permissionmanager: 7.2.1
backpack/pro: 2.2.29
backpack/settings: 3.1.1
backpack/theme-tabler: 1.2.15
The text was updated successfully, but these errors were encountered: