forms/src/transformer.ts
Describes an interface for converting from a Blueriq Field of data type T to an Angular FormControl with data of type R, and vice versa.
Methods |
toControl | |||||||||
toControl(value: T | null, context: ValueTransformerContext)
|
|||||||||
Called for synchronizing data from the Blueriq Field to Angular's FormControl.
Parameters :
Returns :
R | null
|
toField | |||||||||
toField(value: R | null, context: ValueTransformerContext)
|
|||||||||
Called for synchronizing data from Angular's FormControl to Blueriq's Field.
Parameters :
Returns :
T | null
|