ant-design / ant-design/pro-components
🧐[问题] 给表单如 Select 同时配置了 valueEnum 和 fieldProp.options , 在编辑模式和只读模式下,显示不一致
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🧐 问题描述
可以配置 request、valueEnum 的表单,如果同时配置了 fieldProps.options 属性,并且两块数据不一样,在编辑模式和只读模式下,生成的 options 不一致
### 💻 示例代码
### 🚑 其他信息
源码相关位置

相关提交 #761

Contributor guide
Research direction
Start by reproducing the form configuration described for Select, using different valueEnum and fieldProps.options data in edit and read-only modes. Review the source location shown in the issue and related commit #761, then verify that both modes generate consistent options.
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
- Needs clarification
- Newbie friendliness
- 35/100