1- import { DynamicFormControlLayout , DynamicFormGroupModel , DynamicFormGroupModelConfig , serializable } from '@ng-dynamic-forms/core' ;
1+ import {
2+ DynamicFormControlLayout ,
3+ DynamicFormControlRelation ,
4+ DynamicFormGroupModel ,
5+ DynamicFormGroupModelConfig ,
6+ serializable
7+ } from '@ng-dynamic-forms/core' ;
28
39import { Subject } from 'rxjs' ;
410
@@ -16,6 +22,7 @@ export interface DynamicConcatModelConfig extends DynamicFormGroupModelConfig {
1622 separator : string ;
1723 value ?: any ;
1824 hint ?: string ;
25+ typeBindRelations ?: DynamicFormControlRelation [ ] ;
1926 relationship ?: RelationshipOptions ;
2027 repeatable : boolean ;
2128 required : boolean ;
@@ -29,6 +36,8 @@ export class DynamicConcatModel extends DynamicFormGroupModel {
2936
3037 @serializable ( ) separator : string ;
3138 @serializable ( ) hasLanguages = false ;
39+ @serializable ( ) typeBindRelations : DynamicFormControlRelation [ ] ;
40+ @serializable ( ) typeBindHidden = false ;
3241 @serializable ( ) relationship ?: RelationshipOptions ;
3342 @serializable ( ) repeatable ?: boolean ;
3443 @serializable ( ) required ?: boolean ;
@@ -55,6 +64,7 @@ export class DynamicConcatModel extends DynamicFormGroupModel {
5564 this . metadataValue = config . metadataValue ;
5665 this . valueUpdates = new Subject < string > ( ) ;
5766 this . valueUpdates . subscribe ( ( value : string ) => this . value = value ) ;
67+ this . typeBindRelations = config . typeBindRelations ? config . typeBindRelations : [ ] ;
5868 }
5969
6070 get value ( ) {
0 commit comments