Skip to content

Commit 6d18c67

Browse files
committed
Merge pull request #20 from fuhrysteve/patch-1
add support for date format
2 parents 802ac33 + 382f24c commit 6d18c67

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)