Skip to content

Commit 4f4053b

Browse files
authored
Merge pull request #89 from zevero/master
add format: time and date
2 parents 0ba2b1e + 7c45e08 commit 4f4053b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/js/brutusin-json-forms.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ if (typeof brutusin === "undefined") {
222222
// #46, problem in IE11. TODO polyfill?
223223
input.type = "text";
224224
}
225+
} else if (s.format === "date") {
226+
input.type = "date";
227+
} else if (s.format === "time") {
228+
input.type = "time";
225229
} else if (s.format === "email") {
226230
input.type = "email";
227231
} else if (s.format === "text") {

0 commit comments

Comments
 (0)