Skip to content

Commit

Permalink
fix IE issue setting type to date
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhrysteve committed Oct 19, 2017
1 parent 802ac33 commit 182d778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/brutusin-json-forms-bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 182d778

Please sign in to comment.