extremefe / bootstrap-checkbox Goto Github PK
View Code? Open in Web Editor NEWThree state checkbox for Bootstrap
Home Page: http://extremefe.github.io/bootstrap-checkbox/
Three state checkbox for Bootstrap
Home Page: http://extremefe.github.io/bootstrap-checkbox/
Hey there , is there anyway we can keep the style after form submit. I am using the gravity form and when the form runs the ajax validation before submit, it removes the styles.
In Bootstrap 3.1.1 the "icon" turns to "glyph". The size of the glyph (ok & stop) do not fit into the checkbox.
I've changed the checkbox container to 17px by 17px, and the "i" top from -2px to 0px, the same with the left. The checkbox is now bigger, but its not a problem at all. You can change the font-size also.
Hi !
I hope you'll answer this quiet fast ! :P
So, what i wanna do is simple ! When you initialize a three state checkbox with your plugin. You do it like this : $('#checkbox').checkbox().chbxChecked(null);
My problem is that this initialize the checkbox with the ambigous/null value. And if i replace the null
by 'true' or 'false' my checkbox isn't a three state one :/.
Any idea of how i could do this ?
If there is a checkbox with no checked attribute, yet with this.checked set to true, then converting it to bootstrap-checkbox format does not fill new node with an icon (while the state is preserved). It results in a weird behaviour when the checkbox appears to be unchecked, while actually it's checked; and first mouse click does visually nothing as a consequence.
I need to have a reset function to uncheck the bootstrap checkbox check event. If my reset looks like this:
var welChild = $('.checkbox-child').removeClass("checked");
var welParent = $('#checkbox-parent').removeClass("checked");
// remove the icon-ok Glyphicons from bootstrap checkbox
$('.bootstrap-checkbox i').remove();
After the reset, the user has to double-click the checkbox which was reset from checked to unchecked in order to have it checked again. Any idea how to do the reset correctly?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.