Skip to content

Commit 54ac33b

Browse files
committed
fix IE issue setting type to date
1 parent 802ac33 commit 54ac33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/brutusin-json-forms-bootstrap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if (("undefined" === typeof $ || "undefined" === typeof $.fn || "undefined" ===
130130
var tagName = element.tagName.toLowerCase();
131131
if (tagName === "input" && schema.type === "string" && schema.format === format) {
132132
if (inputType) {
133-
element.type = inputType;
133+
element.setAttribute(inputType);
134134
}
135135
if (glyphicon) {
136136
var parent = element.parentNode;

0 commit comments

Comments
 (0)