ant-design / ant-design/pro-components

🧐[问题] 关于在 EditableProTable 的列可编辑 renderFormItem 中使用实体

Open
#8,247 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

在架构中,即 EditableProTable 的 columns -> renderFormItem 的第一个参数,未定义称为实体和条目的项目类型。
我应该使用 config.record 作为第三个参数吗?它的使用是否有被阻止的原因?

### 💻 示例代码
```
renderFormItem: (schema, config, form, action) => {
return (

schema.entity 希望使用
/>

);
},
```

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the EditableProTable columns API and the renderFormItem parameters, especially the types of schema, config, form, and action. Determine whether an entity or item type is intended to be exposed and how config.record is currently defined. Done should mean the expected API behavior and usage are decided and clearly specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.