Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Bard sets miss characters when editing

Abierto
#15,588 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, laravel, php
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
4.9k
Forks
647
Merge medio
1 d 7 h
PR fusionados (30 d)
103

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de statamic/cms

Todos los issues de statamic/cms

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.