Skip to content

Commit

Permalink
[5.x] Fix color fieldtype's collapsed state showing plain HTML (#11031)
Browse files Browse the repository at this point in the history
Fix color fieldtype's collapsed state showing plain HTML

Closes #10991
  • Loading branch information
jackmcdade authored Oct 30, 2024
1 parent 7172e7a commit 0cd579a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/ColorFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default {
if (! this.showFieldPreviews || ! this.config.replicator_preview) return;
return this.value
? `<span class="little-dot" style="background-color:${this.value}"></span>`
? replicatorPreviewHtml(`<span class="little-dot" style="background-color:${this.value}"></span>`)
: null;
}
Expand Down

0 comments on commit 0cd579a

Please sign in to comment.