keystonejs / keystonejs/keystone

Card view realtionship to document field list styling breaks after create

Open
#7,142 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10k
Forks
1.3k
Avg merge
19h 14m
Merged PRs (30d)
19

Description

### Please add steps to reproduce the problem
1. Create a list with document field
2. Create other list and add relationship field to list1 with ui.displayMode: "cards"
3. Create item and a bullet list in document field
4. Save item and now bullet list styling is gone, even when editing field

### Please describe what you expected to happen
1. Keep styles of bullet list after save

### Please add any screenshots if possible
https://user-images.githubusercontent.com/68562883/147956802-9762d942-b176-410c-81a1-44333c0da2ce.mov

### Please add contextual information such as your node version (node -v), or the web browser you used
node v.14.18, firefox 95.0.2

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the report. Start by reproducing the issue with a document field and a relationship field using card display mode, then trace the save and edit flow for the document field. Done means bullet-list styling remains after saving and while editing the field.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.