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

Improvements to stateful button JS docs #16430

Merged
merged 2 commits into from
May 5, 2015
Merged

Improvements to stateful button JS docs #16430

merged 2 commits into from
May 5, 2015

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented May 5, 2015

@cvrebert cvrebert added this to the v3.3.5 milestone May 5, 2015
cvrebert added a commit that referenced this pull request May 5, 2015
Improvements to stateful button JS docs
@cvrebert cvrebert merged commit d9a7cb2 into master May 5, 2015
@cvrebert cvrebert deleted the stateful-btn branch May 5, 2015 22:38
@cvrebert cvrebert mentioned this pull request Jun 16, 2015
@HEdingfield
Copy link

Sorry to ask here, but I couldn't find the info anywhere else: why is the stateful button being deprecated and what's it being replaced with? I use these pretty extensively...

@cvrebert
Copy link
Collaborator Author

See the thread mentioned in the commit message (#16362 (comment)), but to add some more detail:
The feature doesn't do very much, there are some reasonable edge cases that don't seem possible to satisfy simultaneously (#16362, #14450), and it complicates the implementation of the main checkboxes/radios part of the buttons plugin. It will not have a replacement; it's being straight-up removed in Bootstrap v4. We recommend writing your own tiny trivial snippet of JavaScript instead.

For the avoidance of doubt: We intend to retain the rest of the buttons plugin (checkboxes, radios, single-toggle) in v4.

@scottdorman
Copy link

@cvrebert With this piece of the buttons plugin being removed in v4, are there any recommendations for a replacement that we can use now instead of using what's currently in v3?

@cvrebert
Copy link
Collaborator Author

cvrebert commented Aug 6, 2015

We recommend writing your own tiny trivial snippet of JavaScript instead.

@twbs twbs locked and limited conversation to collaborators Dec 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants