adobe / adobe/aem-react-core-wcm-components-base

[bug] $ displayed in description

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
22
Forks
7
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.
When authoring list and selecting the description checkbox, there is a $ displayed in the description test
**Package version**
Provide a package version where the bug occurs.
https://github.com/adobe/aem-react-core-wcm-components-base/blob/master/src/authoring/list/v2/ListV2.tsx
**To Reproduce**
Steps to reproduce the behavior:
1. Drag a list component
2. Build list using child pages
3. In the item settings tab select link items and show description checkbox
4. Click Done
5. Items will display $ before description

This is coming from line 72 of the following code
https://github.com/adobe/aem-react-core-wcm-components-base/blob/master/src/authoring/list/v2/ListV2.tsx

**Expected behavior**
Item description must not have $ before the text

**Screenshots**
If applicable, add screenshots to help explain your problem.
![Screen Shot 2022-05-11 at 1 01 30 PM](https://user-images.githubusercontent.com/4964968/167906790-ece82c85-e0e6-403d-afc6-6d8e62b26692.png)
![Screen Shot 2022-05-11 at 1 01 16 PM](https://user-images.githubusercontent.com/4964968/167906819-7e75d323-f4f5-486f-9f76-0dcf83acad21.png)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with src/authoring/list/v2/ListV2.tsx, especially line 72, and reproduce the issue using the listed list-component steps. Done means the item description displays without a leading dollar sign when the description checkbox is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.