Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

251 add a unique part for each dropdown item and selected value #252

Merged

Conversation

jachin
Copy link

@jachin jachin commented Sep 28, 2023

We're using some logic to get a pretty unique value that we can use as a part selector for both dropdown items and selected values. Then we can use external CSS styles to change how the <much-select> looks.

I also added a "Styling" section to the demos and playground website.

Jachin Rupe added 2 commits September 28, 2023 13:37
code into the `FancyOption` module.

Adding a module for `OptionPart` and making it part of the `FancyOpion`.

Parse out a `part` based on the value.
`part`.

We need to keep all the other `part`s in the dropdown items.
@jachin jachin linked an issue Sep 28, 2023 that may be closed by this pull request
@jachin jachin marked this pull request as ready for review September 28, 2023 21:51
@jachin jachin merged commit ecbeb6b into master Sep 28, 2023
1 check passed
@jachin jachin deleted the 251-add-a-unique-part-for-each-dropdown-item-and-selected-value branch September 28, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add a unique part for each dropdown item and selected value
1 participant