diff --git a/src/js/brutusin-json-forms-bootstrap.js b/src/js/brutusin-json-forms-bootstrap.js index 5b2582e..ff01034 100644 --- a/src/js/brutusin-json-forms-bootstrap.js +++ b/src/js/brutusin-json-forms-bootstrap.js @@ -130,7 +130,7 @@ if (("undefined" === typeof $ || "undefined" === typeof $.fn || "undefined" === var tagName = element.tagName.toLowerCase(); if (tagName === "input" && schema.type === "string" && schema.format === format) { if (inputType) { - element.type = inputType; + element.setAttribute(inputType); } if (glyphicon) { var parent = element.parentNode;