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

Support for custom drop down item properties #4

Closed
mwpowellhtx opened this issue Jul 5, 2016 · 0 comments
Closed

Support for custom drop down item properties #4

mwpowellhtx opened this issue Jul 5, 2016 · 0 comments
Labels

Comments

@mwpowellhtx
Copy link

Hello,

So, following a couple of the examples, a simple item might look like this:

{ text: "Some text", value: 1 }

However, how may I convey custom user properties?

{ text: "Some text", value: 1, myCustomDetail: "Some custom detail" }

And half expect that this would land in the resulting items as an attribute.

Either that, or specify an "id" that I can later reference; probably fairly simple with a jQuery on the parent Drop Down I suppose, but would like to avoid those gymnastics if I can simply specify the attribute in the first place.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants