From 182d7785a0affe766497cb4023cb3c6fc71df63b Mon Sep 17 00:00:00 2001 From: Stephen Fuhry Date: Fri, 22 Sep 2017 15:57:31 +0000 Subject: [PATCH] fix IE issue setting type to date --- src/js/brutusin-json-forms-bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/brutusin-json-forms-bootstrap.js b/src/js/brutusin-json-forms-bootstrap.js index 5b2582e..b34a45e 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("type", inputType); } if (glyphicon) { var parent = element.parentNode;