Skip to content

Added option to save committed values and restore them if not accepted

Does the following:

  1. Restore the field value to a previously committed value if field input is rejected while committing.
  2. Also restore the previously committed value if validate event fails.
  3. Generalized the parameters of processAction methods to accept a FormField* rather than a FormFieldText*. This is so in future we can use same methods for ComboBox and ListBoxes too.
  4. Moved the Keystroke, Validate, Calculate, Format event execution to a separate function since this event execution order is bound to repeat itself many times.
Edited by Pratham Gandhi

Merge request reports

Loading