Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bard sets miss characters when editing

Open
#15,588 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Domain
frontend

Research direction

Start from the linked commit 9a4c016b1cbe98d6e9c6a661f8cc3e168cdf5f07 diff to see which field-sync/input logic changed, then reproduce with the linked bard-save-bug repo at /cp/collections/articles/entries/repro-entry. Trace the label field's keystroke handling to find where the second character is overwritten or reverted, and check issue #15501 for overlap. Done when rapid typing at the end of the field no longer drops a character and the existing frontend test suite passes.

Written by the indexing model from the issue text.

Description

bard
Bug description
Bug description

When adding text to certain bard sets, some characters get lost.

How to reproduce
  1. Clone https://github.com/faltjo/bard-sets-miss-characters
  2. Open /cp/collections/articles/entries/repro-entry
  3. Click into the "label" field of one of the card sets and quickly append text to the end of the text already present.
  4. Notice that the second of the newly typed characters has vanished from the field. Looking closely you can see the character getting deleted while editing. If the error does not occur, try to click into the label field of another card set and start typing immediately. Make sure to set the cursor to the rightmost position.
Logs

Environment
Environment
Laravel Version: 13.31.0
PHP Version: 8.5.10
Composer Version: 2.10.2
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
License Key: Not set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.35.0 PRO
Installation

Fresh statamic/statamic site via CLI

Additional details

The error seems to be introduced with this commit https://github.com/statamic/cms/commit/9a4c016b1cbe98d6e9c6a661f8cc3e168cdf5f07 and might be related to https://github.com/statamic/cms/issues/15501

Dominant language
PHP
Stars
4.9k
Forks
647
Avg merge
1d 19h
Merged PRs (30d)
108

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from statamic/cms

All issues in statamic/cms

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.