Skip to content
Discussion options

You must be logged in to vote

In your Dropdown component you are setting the class attribute thrice. Setting the class more than once will not combine the classes, it will completely replace the previous value each time.

Edit:
Just to be clear, setting a specific class with this syntax: class:hidden=hidden does preserve the previously set classes. Only class="" will reset the classes.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Neighborkid01
Comment options

Answer selected by Neighborkid01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants