baidu / baidu/amis

input-table添加自定义操作无法在快速编辑模式下进行保存或取消

Open
#3,449 0 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

input-table添加自定义操作无法在快速编辑模式下进行保存或取消,点击单行编辑后看不到“save”和“cancel”按钮(被输入文本框替代),如果将quickEdit设置为false倒是可以看到保存按钮,但是自定义的按钮不会再快速编辑下隐藏。

另外input-table不支持itemActions(显示不出来),只能在columns里配置operation

#### 截图或视频:

可以的话,尽可能提供截图或视频来补充描述你的问题...

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
`sdk`

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
最新版本

3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "input-table",
"addable": true,
"editable": true,
"removable": true,
"columns": [
...
{
"type": "operation",
"label": "操作",
"buttons": [
{
"type": "action",
.....
}
]
}
]
}
```

4. 操作步骤
请简单描述一下复现的操作步骤...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the provided input-table schema in the SDK with quickEdit enabled, then compare it with quickEdit disabled. Check the single-row edit controls and the interaction between custom operation buttons and itemActions. Done means the intended save and cancel controls appear and custom actions have the specified visibility and support.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.