Closed jmesserly closed 11 years ago
I don't see how it can not end up string. MDV binds to the value
property which is a string. Maybe if you bind to valueAsNumber
instead?
good point. yeah it would have to be valueAsNumber. Or using some kind of filter in the Polymer expr syntax?
closing as dupe of https://github.com/Polymer/mdv/issues/84
given HTML
and JS:
The value of model.myinteger will start as a number but end up as a string. Is this intended?
(This was reported as polymer.dart issue 12223)
here's a complete snippet to illustrate: