Context.data.lead_type = Context.fields.lead_type.social;

To access some category codes, you have to use square brackets.

Context.fields.category['n-'];
Context.fields.category['1n'];  

Type parameters

  • T: string

Hierarchy

  • TEnum

Properties

code

code: T

Value’s code.

name

name: string

Value’s name.