-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
currently the components do not allow for extra data-* attributes since they are not defined as explicit attributes. the package itself does use and create data-roos-* attributes.
Adding these attributes can be helpful to identify the element in javascript. More info on mdn: https://developer.mozilla.org/en-US/docs/Web/HTML/How_to/Use_data_attributes
In wies we have used it here to create a date range from two separate date inputs.
proposed fix
allow for all data-* attributes and pass them down to the rendered elements. do not allow for data-roos-* attributes to reserve a namespace we can use internally
open questions
- how do we treat
data-*attributes for combined elements likec-menu?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels