From 0cd579a52a67a7c164344c94dc6e20dfa3c7b5aa Mon Sep 17 00:00:00 2001 From: Jack McDade Date: Wed, 30 Oct 2024 18:55:51 -0400 Subject: [PATCH] [5.x] Fix color fieldtype's collapsed state showing plain HTML (#11031) Fix color fieldtype's collapsed state showing plain HTML Closes #10991 --- resources/js/components/fieldtypes/ColorFieldtype.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/fieldtypes/ColorFieldtype.vue b/resources/js/components/fieldtypes/ColorFieldtype.vue index d539eb300a..564a715021 100644 --- a/resources/js/components/fieldtypes/ColorFieldtype.vue +++ b/resources/js/components/fieldtypes/ColorFieldtype.vue @@ -100,7 +100,7 @@ export default { if (! this.showFieldPreviews || ! this.config.replicator_preview) return; return this.value - ? `` + ? replicatorPreviewHtml(``) : null; }