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

c-select: Add more powerful control around the menu item slot #498

Open
ascott18 opened this issue Nov 26, 2024 · 1 comment
Open

c-select: Add more powerful control around the menu item slot #498

ascott18 opened this issue Nov 26, 2024 · 1 comment

Comments

@ascott18
Copy link
Collaborator

This will provide more flexibility to users on how they want the contents of the list item to be displayed. Opens up the ability to add other prepend/append content or other parts of v-list-item without having to resort to wonky CSS.

Move the v-list-item-title to only wrap around the item slot, which is a slot that is intended to contain relatively pure CSS since it is also shown as the selections for the control.

@ascott18
Copy link
Collaborator Author

I'm not convinced the breakage is worth it here. Will wait until specific needs arise and then make changes to address those needs.

Just moving the slot up to not include the -title won't immediately fix all issues here since prepend/append are done through slots on v-list-item, so those would have to be passed through as well somehow. Might end up needing to be a whole new slot that must produce a whole v-list-item. (more similar to existing vuetify dropdowns).

@ascott18 ascott18 removed the breaking label Jan 27, 2025
@ascott18 ascott18 changed the title c-select: Change list-item slot to not be wrapped in a v-list-item-title c-select: Add more powerful control around the menu item slot Jan 27, 2025
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

No branches or pull requests

1 participant