Skip to content

Nested bard set causes re-render and data loss #14759

Description

@helloiamlukas

Bug description

When a Bard field contains another Bard field inside a set, typing in one section makes the whole Bard field refresh. Sibling sections re-render and sets can disappear.

How to reproduce

  1. Clone repository: https://github.com/helloiamlukas/nested-bard-bug
  2. Open /cp/collections/articles/entries/7ac0bdda-1b84-45f8-ac52-2575dd7e8251 in browser
  3. Click into the first section, put the cursor after its image, and type.

Logs

Environment

EnvironmentLaravel Version: 13.12.0PHP Version: 8.3.22Composer Version: 2.9.7Environment: localDebug Mode: ENABLEDMaintenance Mode: OFFTimezone: UTCLocale: enCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: fileDatabase: sqliteLogs: stack / singleMail: logQueue: syncSession: fileStoragepublic/storage: NOT LINKEDStatamicAddons: 0License Key: Not setSites: 1Stache Watcher: Enabled (auto)Static Caching: DisabledVersion: 6.20.0 Solo

Installation

Starter Kit using via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions