We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be80aa commit d199677Copy full SHA for d199677
src/fields/fieldImage.vue
@@ -17,7 +17,7 @@
17
if (this.schema.preview !== false) {
18
return {
19
display: "block",
20
- "background-image": "url(" + this.value + ")"
+ "background-image": this.value != null ? "url(" + this.value + ")" : "none"
21
};
22
} else {
23
0 commit comments