OnValueChanging

OnValueChanging

Occurs before the Value of a control changes. You can cancel the change by setting args.Cancel to true.

Event Arguments:
form: pf.Form
args: pf.IValueChangingEventArgs

where pf.IValueChangingEventArgs:
export interface IValueChangingEventArgs {
Sender: any;
OldValue: any;
Value?: any;
Cancel: boolean;
}