Suffixes k, m, b don't convert numbers properly
about 2 months ago
MARLIS
97 Total Respect
MARLIS
97 Respect
about 2 months ago
Responses
about 2 months ago
SHREDDERCHU
165 Total Respect
SHREDDERCHU
165 Respect
about 2 months ago
If looking into this, it would be nice to also include these for mobile users, since they don't work anywhere on mobile
To my knowledge, this only occurs in the market, in the quantity input field, so it's a very minor bug.
After changing the item, the maximum value of the input changes too, but the html 'max' attribute is not updated.
This causes the logic that converts '1k' to '1,000' to fail if the actual limit is below 1000.
I came across it while updating the MegaScript, my fix there was to directly use the Autonumeric instance to get the max value instead of the html attribute. E.g.
const max = AutoNumeric.getAutoNumericElement(input).getSettings().maximumValue;