Polish stringinput when no default value

This commit is contained in:
Janne Valkealahti
2022-02-20 08:47:45 +00:00
parent 240cf2d96d
commit f1a93f7476

View File

@@ -4,13 +4,17 @@ info(model) ::= <%
<if(model.maskedInput)>
<model.maskedInput>
<else>
<("[Default "); format="value"><model.defaultValue; format="value"><("]"); format="value">
<if(model.defaultValue)>
<("[Default "); format="value"><model.defaultValue; format="value"><("]"); format="value">
<endif>
<endif>
<else>
<if(model.input)>
<model.input>
<else>
<("[Default "); format="value"><model.defaultValue; format="value"><("]"); format="value">
<if(model.defaultValue)>
<("[Default "); format="value"><model.defaultValue; format="value"><("]"); format="value">
<endif>
<endif>
<endif>
%>