Skip to content

AFTime_Keystroke method implemented

AFTime_Keystroke method is used for validating keystrokes when entering time related data in form fields. This MR creates a regex based implementation.

Tests for rejecting strings upon entering invalid strings during committing keystroke event need to be added, and can be done once MR 985 is merged.

The code is also dependent upon MR 981 for implementation of selStart event property. An AFMergeChange utility function has also been added which merges incoming changes in a form field with the data already present in the field.

Merge request reports

Loading