diff --git a/src/templates/bootstrap3/input/html.ejs b/src/templates/bootstrap3/input/html.ejs index 82fffefce..391b6f131 100644 --- a/src/templates/bootstrap3/input/html.ejs +++ b/src/templates/bootstrap3/input/html.ejs @@ -1 +1 @@ -
{% if (ctx.value) { %}{{ctx.value}}{% } else { %}-{% } %}
+
{% if (ctx.value) { %}{{ctx.component.type === 'currency' ? ctx.input.attr.value : ctx.value}}{% } else { %}-{% } %}
\ No newline at end of file diff --git a/src/templates/bootstrap4/input/html.ejs b/src/templates/bootstrap4/input/html.ejs index 82fffefce..bdb65d4dc 100644 --- a/src/templates/bootstrap4/input/html.ejs +++ b/src/templates/bootstrap4/input/html.ejs @@ -1 +1 @@ -
{% if (ctx.value) { %}{{ctx.value}}{% } else { %}-{% } %}
+
{% if (ctx.value) { %}{{ctx.component.type === 'currency' ? ctx.input.attr.value : ctx.value}}{% } else { %}-{% } %}
diff --git a/src/templates/bootstrap5/input/html.ejs b/src/templates/bootstrap5/input/html.ejs index 82fffefce..391b6f131 100644 --- a/src/templates/bootstrap5/input/html.ejs +++ b/src/templates/bootstrap5/input/html.ejs @@ -1 +1 @@ -
{% if (ctx.value) { %}{{ctx.value}}{% } else { %}-{% } %}
+
{% if (ctx.value) { %}{{ctx.component.type === 'currency' ? ctx.input.attr.value : ctx.value}}{% } else { %}-{% } %}
\ No newline at end of file