ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[bug report] El input cannot enter 0 after decimal point #19445

Open li-guojiang opened 4 years ago

li-guojiang commented 4 years ago

Element UI version

2.13.2

OS/Browsers version

windows10/Chrome81.0.4044.138

Vue version

2.6.10

Reproduction Link

https://codepen.io/li-guojiang/pen/LYpXyMO

Steps to reproduce

如输入11.04时,无法完成。小数点后0无法输入 如果去掉type="number" 则无法输入小数

What is Expected?

能正常输入

What is actually happening?

无法正常输入

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.13.2

OS/Browsers version

windows10/Chrome81.0.4044.138

Vue version

2.6.10

Reproduction Link

https://codepen.io/li-guojiang/pen/LYpXyMO

Steps to reproduce

< El input type = "number" V-model. Number = "amount" placeholder = "labor cost" clearable > < / El input >

If 11.04 is entered, it cannot be completed. 0 after decimal point cannot be entered Decimal cannot be entered if type = "number" is removed

What is Expected?

Normal input

What is actually happening?

Unable to input normally

lucasguo commented 4 years ago

The same problem. Any workaround?

grigoriy-a commented 3 years ago

Yes, same issue. Version 2.14/2.15.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.