Function delegate for onChange event.
the new value of the field
the old value of the field before the change
const { form } tisa;const { myField } tisa.form;// handling field value changesmyField.onChange((value, { oldValue })=>{ console.log(`${oldValue} -> ${value}`);}); Copy
const { form } tisa;const { myField } tisa.form;// handling field value changesmyField.onChange((value, { oldValue })=>{ console.log(`${oldValue} -> ${value}`);});
Function delegate for onChange event.