When setting the null value, the input shows a value of 0 instead.
For having an empty in the input, we need to set a NaN value which is not very user-friendly.
shows the native error tooltip
When the value doesn't respect the min/max boundaries, the native error tooltip is displayed which is something we don't like.
Moreover, this tooltip is displayed using the browser language which is not what we may want.
The same thing occurs when the step property is not respected.
The cc-input-number comes with various issues:
value nullity
When setting the
null
value, the input shows a value of0
instead. For having an empty in the input, we need to set aNaN
value which is not very user-friendly.shows the native error tooltip
When the value doesn't respect the min/max boundaries, the native error tooltip is displayed which is something we don't like. Moreover, this tooltip is displayed using the browser language which is not what we may want.
The same thing occurs when the
step
property is not respected.