Feb 29th - "Basic Fields > Day" component

Back to: CHEFS Bugs/Defect Tracker

Priority

Status

Team

Priority

Status

Team

HIGH

done

Unity - JEDI

Legend

Low medium High

Open in progress done

Description:

The "Basic Fields > Day" component can increment from February 28 to February 29 irrespective of the year, allowing for February 29 to be selected on non-leap years


The image below compares the ability to increment the day value of the "Advanced Fields > Day" component and the "Basic Fields > Day" component when the day is initially set to 28 and the year is 2023. Note that the "Basic Fields > Day" component can reach day = 29 using the increment up button. The ability to increment up from 28 to 29 should not be possible for non-leap years.

*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/form/design?f=04d899e8-6669-4a3d-89a6-448b0a3e5a72&d=1f0a0ef9-580a-4684-99c7-d2720fc0289b&sv=true&svs=Saved   on Aug 18, 2023.
(Chrome browser: Version 116.0.5845.97 (Official Build) (32-bit), Windows 10.)
The yellow highlighting has been added to draw attention to the relevant element for this enhancement.