Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
719 B

/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FieldDto, MathHelper } from '@app/shared/internal';
@Component({
selector: 'sqx-content-value-editor[field][form]',
styleUrls: ['./content-value-editor.component.scss'],
templateUrl: './content-value-editor.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ContentValueEditorComponent {
@Input()
public field: FieldDto;
@Input()
public form: FormGroup;
public readonly uniqueId = MathHelper.guid();
}