From 605e40d3765faf5365147657e44088569fe11e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20L=C3=B3pez=20Lugo?= Date: Thu, 7 Dec 2017 01:39:58 -0400 Subject: [PATCH] Improvements - Include title into custom actions - Add support to Number field type --- pt-crud-table.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pt-crud-table.html b/pt-crud-table.html index 35ccdff..0d5525f 100644 --- a/pt-crud-table.html +++ b/pt-crud-table.html @@ -120,7 +120,7 @@

[[title]]

@@ -221,6 +221,12 @@

[[title]]

tempElement.type = field.inputType; } break; + case 'number': + tempElement = document.createElement("paper-input"); + tempElement.type = "number"; + tempElement.step = "0.01"; + tempElement.label = field.label; + break; case 'checkbox': tempElement = document.createElement("paper-checkbox"); tempElement.innerHTML = field.label;