From bd16ba7e611d392e7319cb66cb9a5d79ca660da4 Mon Sep 17 00:00:00 2001 From: "Stephen J. Fuhry" Date: Wed, 14 Jan 2015 20:55:21 -0500 Subject: [PATCH 1/3] date type support, use html5 input types --- lib/business-rules/conditions-builder.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/business-rules/conditions-builder.js b/lib/business-rules/conditions-builder.js index e788806..3352dcf 100755 --- a/lib/business-rules/conditions-builder.js +++ b/lib/business-rules/conditions-builder.js @@ -214,11 +214,15 @@ break; case "text": $this.after($("")); - $this.after($("", {"type": "text", "class": "value textInput"})); + $this.after($("", {"class": "value textInput"})); break; case "numeric": $this.after($("")); - $this.after($("", {"type": "text", "class": "value numberInput"})); + $this.after($("", {"type": "number", "class": "value numberInput"})); + break; + case "date": + $this.after($("")); + $this.after($("", {"type": "date", "class": "value dateInput"})); break; case "select": var select = $("