Configuration
import { CmsMediaListComponent } from '@tradinos/cms-frontend-media';
override manualInputsFn = (user?: User) =>
[
//override where you extend the CmsService
{
key: 'file',
label: 'fileId',
inputType: FormInputType.file, // you can upload file not only image
imageConfiguration: {
type: 'circle',
componentRef: CmsMediaListComponent,
valueType: 'id',
path: user?.image?.path,
},
},
] as FormInput<User>[];Last updated