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;