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

tokenfield initial data #740

Open Orbifold opened 4 years ago

Orbifold commented 4 years ago

The setValue of the tokenfield should be altered to work with an initial value. Currently it doesn't work (the demo's in particular). Something like this: setValue: function (val) { $(this.control).tokenfield('createToken', val); } Corresponding to the tokenfield docs.

arbitora commented 4 years ago

Second to this, having the same problem here as well. Neither data nor default fields work for initial data either as shown in above demos.