Skip to content

Commit

Permalink
Fix color fieldtype's collapsed state showing plain HTML
Browse files Browse the repository at this point in the history
Closes #10991
  • Loading branch information
jackmcdade committed Oct 30, 2024
1 parent 7172e7a commit 2fe657f
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 2fe657f

Please sign in to comment.