Skip to content

[ListItemComments] Multiline comment doesn't display correctly in ListItemComments control due to missing line break #2078

@wuxiaojun514

Description

@wuxiaojun514

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.23 ]

Expected / Desired Behavior / Question

It should show multiple line text correctly as default list item comments control

Image

(This is the ootb list item comments control in the form, it renders line break correctly)

Observed Behavior

Right now ListItemComments control render all text in one line

Image

Steps to Reproduce

  1. Create multiline comment in list item comments
  2. You will see ListItemComments control will render this new created comment in one line.

It should be an easy fix, we need consider line-break when render it.
I can try to create a PR for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions