You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
Try to enter 0.01 in the number field and the decimal point will be removed as soon as the leading zero is pressed
In NumberControlRenderer.vue the onInputChange callback displays the value using (line 87) const numberAsString = inputStringIsInExponentForm ? result.toExponential() : result.toPrecision();
The toPrecision() call prevents the user entering values between 0 and 0.1.
The toPrecision() call needs to occurs after the user has finished editing
Tested here : https://jsonforms-vuetify-renderers.netlify.app/#/example/control
Try to enter 0.01 in the number field and the decimal point will be removed as soon as the leading zero is pressed
In
NumberControlRenderer.vuetheonInputChangecallback displays the value using (line 87)const numberAsString = inputStringIsInExponentForm ? result.toExponential() : result.toPrecision();The
toPrecision()call prevents the user entering values between 0 and 0.1.The
toPrecision()call needs to occurs after the user has finished editing