added for 2.0 specs to support multi-select inputs

This commit is contained in:
Tony Tam
2014-11-22 08:01:00 -10:00
parent 091eca50d9
commit 50cf3c3597
4 changed files with 26 additions and 20 deletions

View File

@@ -25,6 +25,9 @@ class ParameterView extends Backbone.View
@model.isFile = true if type and type.toLowerCase() == 'file'
@model.default = (@model.default || @model.defaultValue)
if@model.allowableValues
@model.isList = true
template = @template()
$(@el).html(template(@model))