callSetterOnInitialize property

bool callSetterOnInitialize
final

Invoke onChangeValidValue when FormControl is created. Вызвать onChangeValidValue при создании FormControl.

const model = observable({ value: 123 });
new FormControl(
  () => model.value,
  [],
  value => { console.log({ value }); },
  { callSetterOnInitialize: true }
); // then we see { value: 123 } in console immediately

Implementation

final bool callSetterOnInitialize;