diff --git a/examples/lib/defaultHtmlStepUi.js b/examples/lib/defaultHtmlStepUi.js index 00f2463b..c9bb0371 100644 --- a/examples/lib/defaultHtmlStepUi.js +++ b/examples/lib/defaultHtmlStepUi.js @@ -71,6 +71,8 @@ function DefaultHtmlStepUi(_sequencer, options) { inputDesc.type + '" name="' + paramName + + '" placeholder ="' + + (inputDesc.placeholder || "") + '">'; } diff --git a/src/modules/Brightness/info.json b/src/modules/Brightness/info.json index ec561044..73175244 100644 --- a/src/modules/Brightness/info.json +++ b/src/modules/Brightness/info.json @@ -1,11 +1,12 @@ { - "name": "Brightness", - "description": "Change the brightness of the image by given percent value", - "inputs": { - "brightness": { - "type": "integer", - "desc": "% brightness for the new image", - "default": 0 - } - } + "name": "Brightness", + "description": "Change the brightness of the image by given percent value", + "inputs": { + "brightness": { + "type": "number", + "desc": "% brightness for the new image", + "placeholder": "0", + "default": 0 + } + } }