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

Added data-selectedtext #151

Closed
wants to merge 2 commits into from
Closed

Conversation

freakingawesome
Copy link

I needed the ability to change what is displayed in the collapsed dropdown when an item is selected. The demo html file has an example and here's an image example of what I'm talking about: http://screencast.com/t/kz7fPgffXWAt (note that the main text of the dropdown is different than the option text selected).

Thanks for the great plugin!

Adding data-selectedtext onto an option will allow you to customize the
value displayed in the collapsed drop-down, rather than duplicating the
text in the listbox.
@ghost ghost assigned gfranko Apr 23, 2013
@gfranko
Copy link
Owner

gfranko commented Apr 23, 2013

Thank you for the great change! I couldn't merge this automatically, but I added your changes manually and it is currently in the dev branch. This will go in with the next release. Thanks again!

@gfranko gfranko closed this Apr 23, 2013
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.

2 participants