framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.13k stars 3.23k forks source link

Stepper component manualInputMode with decimalPoint issue #4031

Open dFelinger opened 2 years ago

dFelinger commented 2 years ago

Describe the bug

Manual input does not allow to input some of float values like 1.01 or 1.01

To Reproduce

Steps to reproduce the behavior:

  1. Input 1
  2. Input .
  3. Input 0
  4. See that it is formatted to integer "1"
vitalijalbu commented 2 years ago

it's because it interprets the value as string not a number @nolimits4web it was an old issue i think, posted something here:https://forum.framework7.io/t/react-stepper-increments-10-then-1/14719