I'd like to know if its possible to use ngx-translate with Covalent Dynamic forms. My template is shown below:
<td-dynamic-forms [elements]="dataElements">
</td-dynamic-forms>
My dataElements array:
this.dataElements = [
{
'name': 'name',
'label': 'NAME',
'type': 'text',
'disabled': true,
'required': true,
'default': this.application ? this.application.name : ''
},
{
'name': 'description',
'label': 'DESCRIPTION',
'type': 'textarea',
'required': false,
'default': this.application ? this.application.description : ''
},
];
I'd like to translate the labels using ngx-translate. I'm using the same in other regular forms, but I wanted to know if its possible to use the translation in Dynamic Forms.