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

can i suspend "fires invalidation right away" on edit views? #635

Closed rauwebieten closed 6 years ago

rauwebieten commented 6 years ago

Sometimes I want to show a form, and have some fields prepopulated, so I use the edit-view with a data-object.

However, I don't want to fire validation right away. Is this possible? When I use the create-view, the data is not displayed.

sebmill commented 6 years ago

Have a look at the hideInitValidationError setting which can be applied at the very top level within your options, see this example here: https://jsfiddle.net/xpvt214o/176610/. If this answers your issue please mark it as closed.

rauwebieten commented 6 years ago

Yes, thank you !