app/assets/javascripts/try_api/param.directive.js.coffee in try_api-0.0.13 vs app/assets/javascripts/try_api/param.directive.js.coffee in try_api-0.0.14
- old
+ new
@@ -22,9 +22,10 @@
' <span class="text-muted label label-warning">{{ parameter.type }}</span>' +
'</div>' +
'<div class="col-md-8" ng-if=\'parameter.type != "array"\'>' +
' <div ng-switch="parameter.type">' +
' <input ng-switch-when="string" type="text" class="form-control" ng-model="parameter.value" placeholder=\'{{ parameter.required ? "required" : "optional"}}\'>' +
+ ' <textarea ng-switch-when="text" class="form-control" ng-model="parameter.value" placeholder=\'{{ parameter.required ? "required" : "optional"}}\' style="max-width: 100%" />' +
' <input ng-switch-when="integer" type="number" class="form-control" ng-model="parameter.value" placeholder=\'{{ parameter.required ? "required" : "optional"}}\'>' +
' <div ng-switch-when="boolean" class="onoffswitch">' +
' <input class="onoffswitch-checkbox" ng-model="parameter.value" type="checkbox" id="{{ unique_id }}-on-off-switch">' +
' <label class="onoffswitch-label" for="{{ unique_id }}-on-off-switch"></label>' +
' <span class="onoffswitch-inner"></span>' +
\ No newline at end of file