ant-design / ant-design/pro-components

🧐[问题]ProForm的readonly没有优先低于表单项的 readonly

Open
#8,100 2 comments 4 reactions 0 assignees View on GitHub
⭕️ bug form
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

https://codesandbox.io/p/sandbox/biao-dan-fang-fa-diao-yong-forked-ftjzfv?file=%2FApp.tsx%3A26%2C36

![image](https://github.com/ant-design/pro-components/assets/52907799/395b913c-b545-4a1f-abe0-ba3daa83ffb7)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox and inspect App.tsx around lines 26–36 to reproduce the ProForm readonly behavior shown in the screenshot. Trace how the form-level and form-item readonly values are applied; done means the form-item readonly setting takes the intended precedence when both are present.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.