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

Tried everything, can't get a custom data-* I made #101

Open
AhmedNFarah opened this issue Jun 23, 2017 · 3 comments
Open

Tried everything, can't get a custom data-* I made #101

AhmedNFarah opened this issue Jun 23, 2017 · 3 comments

Comments

@AhmedNFarah
Copy link

How can I retrieve a data attribute I created inside the options tag? I can retrieve the values just fine but getting a custom data- has been a problem

@rvera
Copy link
Owner

rvera commented Jun 23, 2017

Are you using the minified version? seems like that version has a bug on it, please try the unminified version while I solve this.

@AhmedNFarah
Copy link
Author

Thank you for replying. No i'm not using the minified version, if this wont work is it possible to pass data through "value="? data that isnt unique? i tried using value and if it occurs that its values are the same it selects them at the same time.. I would love to find a solution to the first problem but if that isn't possible maybe the second one is

@rvera
Copy link
Owner

rvera commented Aug 21, 2017

  • Right now it doesn't copy any custom data tags. Seems like a nice improvement for the future.
  • I always assumed they needed to be unique. That's also a nice improvement, right now they are tracked by value, would need to implement a different way to track these.

Will leave open for now.

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

No branches or pull requests

3 participants