@dile/crud
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -73,2 +73,3 @@ import { LitElement, html, css } from 'lit'; | ||
cancelIcon: { type: Object }, | ||
disableClearAfterInsert: { type: Boolean }, | ||
}; | ||
@@ -252,3 +253,3 @@ } | ||
this.feedback.positiveFeedbackWithDelay(msg, 5000); | ||
if(this.operation == 'insert') { | ||
if(this.operation == 'insert' && !this.disableClearAfterInsert) { | ||
this.clearForm(); | ||
@@ -255,0 +256,0 @@ } |
{ | ||
"name": "@dile/crud", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "Components to create a generic crud system based on Web Components and Lit", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "4d0563cfb9fc1356ab051c4edd273678d49e4c67" | ||
"gitHead": "7678b4a06e0e73fda2c43ca034f4c7f223e5f1cf" | ||
} |
131436
3994