#2708·Inputmask

Invalid state after editing datetime

Author: MaximBalaganskiyCreated May 4, 2023Updated Jul 31, 2026
LabelsDates
  • Describe the bug Entering '30/03/2023 12:00:00' into an input with datetime mask. Then deleting year digit '3'. The state of the Inputmask instance is still 'complete'.

  • Add a link to a codepen, jsfiddle or other example page which shows the problem https://jsfiddle.net/hpg35dmL/4/

  • Inputmask version 5.0.8

The last working correctly version was 5.0.5