'How to send a object through the dynamic form control in Angular?

I want to send a whole object instead of just a single string value for example. How can I do this?

The object type is:

  description: {
      type: string;
      value: string;
    }[];

I have a normal formcontrolTextbox written like this:

   new FormControlTextBox({
        key: 'description.type',
        label: 'profiles.description',
        placeholder: '',
        required: true,
      }),

I would like to send an object now instead?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source