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

tag field returns error when trying to set from data #604

Open ssdhaliwal opened 6 years ago

ssdhaliwal commented 6 years ago

when data is specified for the item, below error is returned:

TypeError: this.data.toLowerCase is not a function alpaca.min.js:11:17825

ambischof commented 6 years ago

Post your code or a link to a jsfiddle

MaZZly commented 6 years ago

@ambischof AlpacaJS docs have also broken code, same error: http://www.alpacajs.org/docs/fields/tag.html (Check console output, also no forms render in examples)

MaZZly commented 6 years ago

Pull request that would fix it: https://github.com/gitana/alpaca/pull/326 Would be nice if that could be merged..