extraAttributes add class on Section seems not works
hi! actually i have a form section like this:
the class added on the html appear correctly, but nothing change from the rendered html. I basically want change a background for a specific section of this form. Is that a correct approach?
ty
Solution:Jump to solution
it was not rendered at all. actually i have solved creating a custom theme and there creating a class like
```
.mycustom-background {
@apply bg-neutral-950 !important;
}...
5 Replies
that's the way that html of this section appear. but no custom background found
Inspect the browser, is that color overrride by any chance or actually just not rendereD?
Solution
it was not rendered at all. actually i have solved creating a custom theme and there creating a class like
and then
But to me this seems an overkill. not sure if this is the best approach to do this. So before to mark it solved, i just wait for some others opinions.
You could have just used style
yes, found also that one. but at the end of the day I prefer the custom theme, in order to be little bit more organized. thank you