baidu / baidu/amis

希望form组件支持quickedit行内编辑功能,每个元素可以单独提交保存。

Open
#4,690 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 是否关联于某个问题吗:
由于组件渲染字段全部后端返回,类型需要转换。利用each组件+crud的quickedit无法在columns里面定义类型。
只能显示label和value 编辑时类型字段无法在value中定义。目前只能编辑text字段。需要做类型转换,因为quickedit对象里面不能在value里面写类型。

![](http://pinnong-data3.oss-cn-hangzhou.aliyuncs.com/img/20220106/181035/756c845a0b12aa2388486af7ca096511.png)

#### 预期的解决方案:
希望form组件支持单个元素行内编辑提交.

#### 任何附加信息:

![](http://pinnong-data3.oss-cn-hangzhou.aliyuncs.com/img/20220106/181035/756c845a0b12aa2388486af7ca096513.png)

![](http://pinnong-data3.oss-cn-hangzhou.aliyuncs.com/img/20220106/181035/756c845a0b12aa2388486af7ca096560.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the form component and the existing quickedit and CRUD behavior described in the issue. Determine how backend-returned field types are represented during inline editing and how a single form element should submit independently. Done means the requested per-element inline edit and save flow supports fields beyond text.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.