From 30edb7d4764c08b46c98f4b848329d3a03e1114b Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Tue, 13 Mar 2018 09:27:14 +0000 Subject: [PATCH] Fix typedInput bug in select menu --- templates/swagger/node.html.mustache | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/swagger/node.html.mustache b/templates/swagger/node.html.mustache index 54a58ca..1039416 100644 --- a/templates/swagger/node.html.mustache +++ b/templates/swagger/node.html.mustache @@ -32,11 +32,17 @@ var showParameters = function() { {{#methods}} {{#parameters}} + + {{#tsType}} + {{^isEnum}} $("#node-input-{{&methodName}}_{{&camelCaseName}}").typedInput({ default: 'str', typeField: $("#node-input-{{&methodName}}_{{&camelCaseName}}Type"), types: ['str', 'msg'] }); + {{/isEnum}} + {{/tsType}} + $("#{{&methodName}}_{{&camelCaseName}}").hide(); {{/parameters}}