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
Describe the bug
I am rendering a Formio defined form using the Formio Embed JS definition as the web app just needs to render the form using the JSON output of a Form built using Formio builder.
For a number field if we add a decimalLimit flag the input value changes on focus out to get truncated and prefixed with a Zero 0, this behavior continues if we keep focusing in and out of the number field until the value reaches only Zero 0.
{type: 'number',key: 'number',label: 'Enter a number',input: true,decimalLimit: 0}
Describe the bug
I am rendering a Formio defined form using the Formio Embed JS definition as the web app just needs to render the form using the JSON output of a Form built using Formio builder.
For a number field if we add a decimalLimit flag the input value changes on focus out to get truncated and prefixed with a Zero
0
, this behavior continues if we keep focusing in and out of the number field until the value reaches only Zero0
.Version/Branch
N/A as we are using https://cdn.form.io/js/formio.embed.js
To Reproduce
JS Fiddle: https://jsfiddle.net/Lhtqb1oy/2/
Steps to reproduce the behavior:
0
, focus in and out0
is leftExpected behavior
The input shpuld not get truncated and prefixed with
0
Screenshots
The text was updated successfully, but these errors were encountered: