Skip to content

Fix support for multiple custom classes as array - #3

Merged
stklcode merged 1 commit into
mainfrom
fix/classes
Sep 13, 2026
Merged

Fix support for multiple custom classes as array#3
stklcode merged 1 commit into
mainfrom
fix/classes

Conversation

@stklcode

Copy link
Copy Markdown
Owner

Using the "class" option for a single class string or a space-separated list of classes in a single string works fine. Type and docs claim support for a list/array of classes which results in invalid output "chartist-tooltip class1,class2".

Rework the logic and properly map arrays without breaking the current behavior.

@stklcode stklcode added this to the 2.0.1 milestone Sep 13, 2026
@stklcode stklcode self-assigned this Sep 13, 2026
@stklcode stklcode added the bug Something isn't working label Sep 13, 2026
Using the "class" option for a single class string or a space-separated
list of classes in a single string works fine. Type and docs claim
support for a list/array of classes which results in invalid output
"chartist-tooltip class1,class2".

Rework the logic and properly map arrays without breaking the current
behavior.
@stklcode
stklcode merged commit dbbc3ab into main Sep 13, 2026
2 checks passed
@stklcode
stklcode deleted the fix/classes branch September 13, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant