Comments (5)
Proposal fix :
// Radio button writer, set whether or not the radio button is
// checked. The button should only be checked if it's value
// equals the given value.
InputWriters.register('radio', function($el, value) {
if (value !== undefined) {
$el.prop('checked', $el.val() === value.toString());
}
});
from backbone.syphon.
Having the same issue with v0.6.3 and have confirmed that @daolf's proposal works.
from backbone.syphon.
It is really easy to use @daolf suggestion app-wide, and it would perfectly work for now. But that should be fixed ideally..
from backbone.syphon.
Hi @daolf, thanks for uncovering this. I'm looking at resolving this bug. If you could provide the HTML that you used to generate this error, that would be a great help!
from backbone.syphon.
Never mind, I have it @daolf - it's on the deserialize side.
from backbone.syphon.
Related Issues (20)
- Compatibility issue with Cocktail Library HOT 1
- Using with a Twitter Bootstrap styled form. HOT 2
- Uncaught TypeError: config.keyJoiner is not a function HOT 7
- [NFR] set a class to syphon non-form elements
- Wrong latest release on github (v0.6.1) HOT 3
- KeySplitter don't work for short parameter HOT 1
- deserialize doesnt appear to accept a model HOT 8
- Cannot read property 'toString' of undefined HOT 5
- Update cdnjs to point to this repo HOT 1
- Provide more customizable formatter and writers HOT 1
- Add Backbone 1.3.* support HOT 6
- lib folder is not updated in major? HOT 1
- publish a new version to npm
- Support Lodash
- Allow Blank Fields to be Excluded
- Update Build HOT 1
- remove lodash from peerDependencies HOT 3
- add a "trim" option HOT 1
- backbone v1.3.3 to 1.4.0 in package.json
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 backbone.syphon.