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

Add placeholder option / deprecate title option #2147

Closed
caseyjhol opened this issue Nov 13, 2018 · 3 comments
Closed

Add placeholder option / deprecate title option #2147

caseyjhol opened this issue Nov 13, 2018 · 3 comments
Milestone

Comments

@caseyjhol
Copy link
Member

caseyjhol commented Nov 13, 2018

A new option - placeholder will function the same as title does currently. placeholder will be available and title will be deprecated in the next minor release.

title will be removed in the next major release. The title option will then behave as it would be expected (a tooltip with the title text will be displayed when hovered over).

Addresses #977.

@caseyjhol caseyjhol added this to the v1.14.0 milestone Nov 13, 2018
@caseyjhol caseyjhol changed the title Add placeholder option Add placeholder option / deprecate title option Sep 21, 2019
hndcrftd added a commit to hndcrftd/bootstrap-select that referenced this issue Jan 6, 2020
snapappointments#2148)

Title option is deprecated (but still works for backwards compatibility). Placeholder option is used.
Title, if set, is appended as title on $button.
Title usage can be removed complately by removing line snapappointments#133
caseyjhol pushed a commit that referenced this issue Apr 23, 2020
Title option is deprecated (but still works for backwards compatibility). Placeholder option is used.
Title, if set, is appended as title on $button.
Title usage can be removed completely by removing 2 lines
@caseyjhol
Copy link
Member Author

This change will be a part of the v1.14.0 release. This issue will be updated after it's made available.

caseyjhol pushed a commit that referenced this issue Apr 24, 2020
Title option is deprecated (but still works for backwards compatibility). Placeholder option is used.
Title, if set, is appended as title on $button.
Title usage can be removed completely by removing 2 lines
caseyjhol pushed a commit that referenced this issue May 8, 2020
Title option is deprecated (but still works for backwards compatibility). Placeholder option is used.
Title, if set, is appended as title on $button.
Title usage can be removed completely by removing 2 lines
caseyjhol pushed a commit that referenced this issue Nov 28, 2020
Title option is deprecated (but still works for backwards compatibility). Placeholder option is used.
Title, if set, is appended as title on $button.
Title usage can be removed completely by removing 2 lines
@caseyjhol
Copy link
Member Author

Released in v1.14.0-beta!

@vukasinpetrovic
Copy link

Hi @caseyjhol,
I tried adding placeholder to option elements, but it is not displayed. Instead whole text of options is shown when it's selected. I'm using regular single select, not the multiple one.

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

2 participants