Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Firefox and type=number
Message
 
 
To
All
General information
Forum:
HTML5
Category:
Browser issues
Title:
Firefox and type=number
Miscellaneous
Thread ID:
01664072
Message ID:
01664072
Views:
45
Hi everybody,

We're using the following markup for numeric control:
<input type="number" name="misc"
                           id="misc"
                           ng-disabled="crud.model.status==='C'"
                           ng-model="crud.model.miscChrg"
                           class="form-control"
                           min="0"
                           step="0.01"
                           data-sm:number-format data-accuracy="2" data-sm:number
                           placeholder="0.00" />
The smNumber directive works fine in Google Chrome and the number displays with 2 decimal points even when it's a whole number, such as 0. In FireFox it displays using spinner and if it's a whole number, I don't see .00 displayed.

Is there a way to make FireFox display the number the way we want with two decimals?

Thanks in advance.

UPDATE. Apparently it's a bug in FireFox still not fixed

https://bugzilla.mozilla.org/show_bug.cgi?id=1003896

I guess we would have to leave with it.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform