Skip to content

Commit 382f24c

Browse files
committed
add support for date format
1 parent 802ac33 commit 382f24c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/js/brutusin-json-forms.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ if (typeof brutusin === "undefined") {
194194
if (typeof value !== "number") {
195195
value = null;
196196
}
197+
} else if (s.format === "date") {
198+
input.type = "date";
197199
} else if (s.format === "email") {
198200
input.type = "email";
199201
} else if (s.format === "text") {

0 commit comments

Comments
 (0)