feat(client): add a description to the junction collection field
This commit is contained in:
parent
45e756c558
commit
cfd2b50a91
@ -92,6 +92,9 @@ export const linkTo: IField = {
|
||||
'x-reactions': ['{{useAsyncDataSource(loadCollections)}}'],
|
||||
'x-decorator': 'FormItem',
|
||||
'x-component': 'Select',
|
||||
'x-component-props': {
|
||||
placeholder: '{{t("Leave it blank, unless you need a custom intermediate table")}}',
|
||||
},
|
||||
},
|
||||
// 'reverseField.uiSchema.title': {
|
||||
// type: 'string',
|
||||
|
@ -22,10 +22,10 @@ export const type: ISchema = {
|
||||
{ label: 'Virtual', value: 'virtual' },
|
||||
{ label: 'JSON', value: 'json' },
|
||||
{ label: 'Password', value: 'password' },
|
||||
{ label: 'HasOne', value: 'hasOne' },
|
||||
{ label: 'HasMany', value: 'hasMany' },
|
||||
{ label: 'BelongsTo', value: 'belongsTo' },
|
||||
{ label: 'BelongsToMany', value: 'belongsToMany' },
|
||||
{ label: 'One to one', value: 'hasOne' },
|
||||
{ label: 'One to many', value: 'hasMany' },
|
||||
{ label: 'Many to one', value: 'belongsTo' },
|
||||
{ label: 'Many to many', value: 'belongsToMany' },
|
||||
],
|
||||
};
|
||||
|
||||
|
@ -346,6 +346,7 @@ export default {
|
||||
'Accept': '文件格式',
|
||||
'Rich Text': '富文本',
|
||||
'Junction collection': '中间表',
|
||||
'Leave it blank, unless you need a custom intermediate table': '默认留空,除非你需要一个自定义的中间表',
|
||||
'Fields': '字段',
|
||||
'Edit field title': '编辑字段标题',
|
||||
'Field title': '字段标题',
|
||||
|
Loading…
Reference in New Issue
Block a user