Closed grantholle closed 8 months ago
The Bard set previews seem to be showing as expected for me, on the latest version of Statamic.
Are you able to provide the YAML for your Bard field in your blueprint/fieldset?
I did a little more tinkering.
It seems that the replicator_preview
key has to be present and true
<= 4.45
. When the key is missing, they do not appear.
When I toggled the "Preview" toggle and saved, new keys appeared in the yaml:
title: 'Base block'
fields:
-
handle: title
field:
input_type: text
antlers: false
display: Title
type: text
icon: text
instructions: 'This is the block title.'
listable: hidden
instructions_position: above
validate:
- required
localizable: true
visibility: visible
replicator_preview: true
hide_display: false
This was the configuration prior to saving:
title: 'Base block'
fields:
-
handle: title
field:
input_type: text
antlers: false
display: Title
type: text
icon: text
instructions: 'This is the block title.'
listable: hidden
instructions_position: above
validate:
- required
localizable: true
While maybe not necessarily a bug, not super backwards-compatible either.
Bug description
Collapsed bard sets in < 4.45 show a preview of the data. Starting in 4.45, the set preview is empty.
4.44:
4.45:
How to reproduce
4.44.0
4.45.0
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response