meteor-editable-text icon indicating copy to clipboard operation
meteor-editable-text copied to clipboard

type="number" turns everything into an integer value

Open JackAdams opened this issue 10 years ago • 2 comments

What about using something like parseFloat instead of parseInt?

JackAdams avatar May 31 '15 17:05 JackAdams

At this point in time, all my fields that are editable "number"s are ints. I actually use parseInt when using forms to collect these numbers. If your switched "number"s to use parseFloat instead, it would be an issue for me. maybe you could have type="float" type="int" options instead?

dpatte avatar Jun 25 '15 04:06 dpatte

Good point. I won't change parseInt to parseFloat.

JackAdams avatar Jun 25 '15 11:06 JackAdams