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

FEATURE REQUEST: take title attribute from original select (when you don't use one against an option) #6238

Open
AzzaAzza69 opened this issue Mar 23, 2023 · 2 comments

Comments

@AzzaAzza69
Copy link

It doesn't do this on the initial creation via $('select').select2() and it should probably do it a change/refresh/update method.

@interduo
Copy link

interduo commented Sep 27, 2023

Why title and no placeholder attribute?
I see that placeholder is more common and more used in selects.

@AzzaAzza69
Copy link
Author

AzzaAzza69 commented Sep 27, 2023

I don't get where it is "more common and more used in selects" as it is not a valid attribute for a [regular] select:
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/placeholder

I guess it would be good if it used it and translated it from the attribute to the option though...

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