ant-design / ant-design/pro-components

ProFormTextArea 在 readonly的情况下,换行符会失效 🧐[问题 | question]

Open
#8,118 1 comment 0 reactions 0 assignees View on GitHub
AI Reply
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🧐 问题描述 | Problem description

期望还是展示回车的。

### 💻 示例代码 | Sample code
`

`

### 🚑 其他信息 | Other information

![image](https://github.com/ant-design/ant-design-pro/assets/15058500/121514d3-133f-4fc7-bd10-3c2c523feb1a)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided ProForm readonly example with ProFormText and the multiline title value, then inspect the ProFormTextArea readonly rendering path. Done means newline characters remain visible as line breaks in readonly mode.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.