Element InputNumber counter how to prohibit manual input or input can only be integers

how can element InputNumber counters disable manual input or input only integers?

Mar.10,2021

element-ui does not have this function
it is recommended to make a component by yourself.


elementUI has a form check, and regular check


remember that after a type=Number, is set, you can only enter an integer


this attribute can be bound: : precision= "0" . By default, it will be rounded after user input. This sets the value to an integer.

Menu