class-field directive does not work
Expected behavior
I should be able to set the class
attribute for a field in solid-widget
, but this does not work.
What's happening?
I'm using this code :
<solid-display
fields="name, event_set"
widget-name="h2"
class-name="event-type"
><solid-display>
The generated HTML is
<div>
<solid-display fields="name, event_set" widget-name="h2" class-name="event-type"><div>
<h2>agora nationale</h2>
</div></solid-display>
</div>
the class attribute is missing. I would like to see <h2 class="event-type">
instead.
Your Environment
(Include relevant details about the environment you experienced the bug in)
-
Library version: sib core 0.12.5
-
Browser name and version: Firefowx 81
-
Operating System and version (desktop or mobile): Ubuntu
-
Targeted application: Hubl