Back to: Bugs/Defect Tracker
Description:
It is possible to enter invalid dates and invalid characters into both the a "Basic Fields > Day" component and the "Advanced Fields > Day" component by manually typing the day after changing the month.
Steps to reproduce: 1.) Set the Month 2.) Manually enter a number, "e", "-", or "+" in the Day field.
*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/form/design?d=2a4faad4-342f-4cd5-808b-e4a5baf4acde&f=3527a6ba-62b9-47a3-ba1c-f33b687d9d2b&nf=false&sv=true&svs=Saved on Aug 17, 2023.
(Chrome browser: Version 116.0.5845.97 (Official Build) (32-bit), Windows 10.)
*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/form/design?d=2a4faad4-342f-4cd5-808b-e4a5baf4acde&f=3527a6ba-62b9-47a3-ba1c-f33b687d9d2b&nf=false&sv=true&svs=Saved on Aug 17, 2023.
(Chrome browser: Version 116.0.5845.97 (Official Build) (32-bit), Windows 10.)
*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/form/design?d=2a4faad4-342f-4cd5-808b-e4a5baf4acde&f=3527a6ba-62b9-47a3-ba1c-f33b687d9d2b&nf=false&sv=true&svs=Saved on Aug 17, 2023.
(Chrome browser: Version 116.0.5845.97 (Official Build) (32-bit), Windows 10.)
*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/form/design?d=2a4faad4-342f-4cd5-808b-e4a5baf4acde&f=3527a6ba-62b9-47a3-ba1c-f33b687d9d2b&nf=false&sv=true&svs=Saved on Aug 17, 2023.
(Chrome browser: Version 116.0.5845.97 (Official Build) (32-bit), Windows 10.)
*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/form/design?d=2a4faad4-342f-4cd5-808b-e4a5baf4acde&f=3527a6ba-62b9-47a3-ba1c-f33b687d9d2b&nf=false&sv=true&svs=Saved on Aug 17, 2023.
(Chrome browser: Version 116.0.5845.97 (Official Build) (32-bit), Windows 10.)
The calendar component accepts decimals by default.
*The above screenshot was taken from: https://submit.digital.gov.bc.ca/app/user/draft?s=51e41508-6ece-4071-9649-3268c5595acd on Aug 24, 2023.
(Microsoft Edge for Business, Version 116.0.1938.54 (Official build) (64-bit), Windows 10)