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

Apache License 2.0
18 stars 10 forks source link

[bug] $ displayed in description #10

Open shajiahmed opened 2 years ago

shajiahmed commented 2 years ago

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 Screen Shot 2022-05-11 at 1 01 16 PM

Additional context Add any other context about the problem here.

m-rather-d commented 2 years ago

In TeaserV1 there is the same issue for links for 'actions'. https://github.com/adobe/aem-react-core-wcm-components-base/blob/master/src/authoring/teaser/v1/TeaserV1.tsx on line# 46