Closed iobrado closed 1 month ago
It's because you should compare at least two attributes. buttonVariant
is solo here. In this case, I usually use "buttonUse": true
to make it valid.
@kancijan it's probably something else, the logic for checking whether it matches was rewritten.
After updating my project to FE Libs Tailwind 1.4.1, I noticed the Tailwind classes from
combinations
aren't applied if passing an array of attributes.This snippet doesn't apply the listed classes.
But replacing the
buttonVariant
attribute value with a string instead of an array, e.g."buttonVariant": "primary"
, solves the issue and the classes are applied.