gitana / alpaca

Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
http://www.alpacajs.org
Other
1.29k stars 371 forks source link

Alpaca form corruption when inserting large numbers in integer / number fields #572

Open ssgtcookie opened 6 years ago

ssgtcookie commented 6 years ago

When you prefill a form with a very large number, alpaca changes the number slightly and thereby it's corrupting the form. This problem does not occur when you use small numbers (100, 1000 etc).

jsfidle example

Prefill the form with these numbers: Prefill

Result is not as expected: Result