alibaba / alibaba/scalable-form-platform
表单中动态列表(列表项是基础控件甚至包含列表)如何处理?
- Dominant language
- JavaScript
- Stars
- 119
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
很好的设计,迫不及待的看了下文档。
### 问题:动态列表如何实现
比如下方的user,需要表单中可交互,编辑各项的值及列表长度(可增减列表),该列表由多个基础(甚至包含其他动态列表)控件组成。
```js
formData: {
name: "",
note: "good",
city: "hangzhou",
user: [
{
nickName: '',
name: ''
}
]
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. Start by locating the form component and its handling of array-valued fields, then clarify expected behavior for editing, adding, removing, and nesting list items; completion requires an agreed design and implementation scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100