-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(association field):quick add new #1953
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
katherinehhh
changed the title
feat/quick add new
feat(association field):quick add new
May 30, 2023
Link T-39 |
This pull request has been linked to and will mark 4 tasks as "Done" when merged:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description (需求描述)
1.关系字段的快速新建:关系字段当字段组件为select时,在原来的弹窗基础上支持快速新建,当搜索的数据不存在时,可以基于搜索内容新建一条数据并选中,允许添加数据的开关改成 select
Add new mode
2.Add new 表单操作的改进:表单下的submit按钮支持配置save mode,可配置新建方式,
如果是 firstOrcreate 或 updateOrCreate 需要配置 filterKeys(对应的 find by fields)
Motivation (需求背景)
Explain the reason for adding or modifying this feature.
Key changes (关键改动)
Provide a technically detailed description of the key changes made.
1.FormItem.Designer ,当mode为select时显示Add new mode的配置项,为recordPicker时显示原来的Allow add new配置项
2.RemoteSelect组件,新增搜素时未查到数据通过dropdownRender显示快捷添加按钮
3.AssociationSelect 组件,QuickAddContent自定义dropdownRender函数,关系数据新建后实现选中
Test plan (测试计划)
Suggestions (测试建议)
Provide any suggestions or recommendations for improvements in the testing plan.
Underlying risk (潜在风险)
Identify any potential risks or issues that may arise from the new feature or modification.
Showcase (结果展示)