feat: accept attribute for the upload component
This commit is contained in:
parent
7e4b60c410
commit
e8a7e321f0
@ -47,6 +47,13 @@ export const attachment: IField = {
|
||||
},
|
||||
properties: {
|
||||
...defaultProps,
|
||||
'uiSchema.x-component-props.accept': {
|
||||
type: 'string',
|
||||
title: '{{t("Accept")}}',
|
||||
'x-component': 'Input',
|
||||
'x-decorator': 'FormItem',
|
||||
description: 'Example: .doc,.docx',
|
||||
},
|
||||
'uiSchema.x-component-props.multiple': {
|
||||
type: 'boolean',
|
||||
'x-content': "{{t('Allow uploading multiple files')}}",
|
||||
|
@ -206,7 +206,7 @@ export const recordPickerSelector: ISchema = {
|
||||
title: '{{ t("Select record") }}',
|
||||
'x-component': 'RecordPicker.Selector',
|
||||
'x-component-props': {
|
||||
className: 'nb-record-picker-selector'
|
||||
className: 'nb-record-picker-selector',
|
||||
},
|
||||
properties: {
|
||||
grid: {
|
||||
|
Loading…
Reference in New Issue
Block a user