When using the "Mask Edit" component (within a form), if the component is configured to expect a Date or DateTime data type, the "Mask Edit" component is unusable. Instead of displaying and allowing input for a Date, the character "d" is shown when selecting the text box. When displaying and allowing input for a DateTime, the character "g" is shown when selecting the text box. It also has rendered the date values in a very erratic way.
If you run the project on any date that does not have a double digit for the month or the day, the formatting for date in the MaskEdit component erroneously renders the results:
Choosing 3/22/2016 (March 22, 2016), the component will render it as 32/22/016, essentially moving all characters to the left by an increment of 1. Proper rendering should be 3/22/2016 or 03/22/2016
- 9/1/2016 - September 1, 2016 - Renders as 91/20/16. Should be 09/01/2016, or 9/1/2016
- 11/01/2016 - November 1, 2016 - Renders as 11/12/016. Should be 11/1/2016, or 11/01/2016
Defect in Date Format Padding
This will be fixed in an Upcoming release of Workflow. It has been partially fixed in Workflow Build 7.6 4383.518. Contact Support to obtain this build.
You can also workaround the issue by using "Custom" instead of "Date" Mask Edit Type within the component. This also allows to display an empty field instead of the usual "01-01-0001" for a null value, which was a function previously found in version 7.5 when using "Date" Mask Edit Type, but is not currently possible in 7.6x or 8.0x.
Subscribing will provide email updates when this Article is updated. Login is required.