-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
我想在ArrayItems组件的添加按钮同一行添加自定义的按钮显示,
What does the proposed API look like?
<SchemaField.Array
name="rules"
x-component="ArrayItems"
x-decorator={"FormItem"}
x-component-props={{ defaultOpenPanelCount: 0 }}
>
<SchemaField.Object>
<SchemaField.Void x-component="ArrayItems.Index" />
<SchemaField.Void x-component="ArrayItems.Remove" />
<FormilyInput title="表达式" name="expression" />
<FormilyInput title="提示词" name="message" />
</SchemaField.Object>
<SchemaField.Void x-component="Space" >
<SchemaField.Void
x-component="ArrayItems.Addition"
title="添加条目"
/>
<SchemaField.Void
x-component='RulesComponent'
/>
</SchemaField.Void>
</SchemaField.Array>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels