Comments (2)
[edit: This does not happen all the time.
Also, it seems that if the mouse-click works, the space bar doesn't and vice versa.
]
I have the same problem.
It seems to be caused by checkboxX('refresh').
Looking in the code (refresh handler, line 151), there is a call to 'init' which causes the problem.
(I have not investigated this any further, as I don't have the time)
So,
- calling refresh stops the control from responding to the mouse click
- it does however respond to the spacebar.
A _short-term hack_ is to comment out line 100 of checkbox-x-.js (inside the change handler)
if (trigChange && !useNative && !skipTrig) {
//$el.trigger('change'); <== This
} else {
I must stress that this is a hack!!! I'd rather the author had a look at this.
Cheers,
Nick
from bootstrap-checkbox-x.
Seems you are using an outdated release. You need to use the latest release v1.5.4.
from bootstrap-checkbox-x.
Related Issues (20)
- custom values not working HOT 2
- Two possible + set indeterminate
- encodeLabel possible? HOT 1
- Display initial value correctly when initializing with checkbox
- Add support for `bootstrap-sass` through new `sass` branch HOT 1
- Default Value HOT 1
- submit form need checkbox checked, but now 0 and empty is unchecked HOT 1
- NPM Package
- checkbox.change - triggers 2 times then user clicks on checkbox HOT 2
- custom values not working HOT 1
- Keeps returning 404 Not Found Error HOT 1
- Not working with angularJS app HOT 1
- Dynamically change Checked | Unchecked states HOT 1
- Rename events to start with `checkbox:` instead of ending with `.checkbox` HOT 1
- waiting for v1.5.5 HOT 1
- Use enhanced SVG icons
- Enhancements to support all bootstrap versions (5.x, 4.x. and 3.x)
- Revamp bootstrap checkbox-x markup for better styling & alignment across Bootstrap versions
- New boolean property `useCrossIcon` for checked
- Allow custom icon CSS for checked, unchecked and null states
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-checkbox-x.