extraAtributes([]) doesnt apply classes to Form Components #10334
Unanswered
thethunderturner
asked this question in
Help
Replies: 2 comments 3 replies
-
Reason: I want the class to be applied to the parent div of the toggle I just want to center it and the label vertically in the div |
Beta Was this translation helpful? Give feedback.
2 replies
-
Is this a bug? I'm also experiencing Forms\Components\ViewField::make('test')
->view('components.ui.icon')
->extraAttributes([
'class' => 'w-6 h-6',
], true) I even tried adding a random other thing like `'style' => 'color: blue' but nothing shows up in the html at all regarding my attempts. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My tailwind.config.js (theme)
The class name is in my theme. I have run
npm run build
, yet still css is not applied.Beta Was this translation helpful? Give feedback.
All reactions