itflow icon indicating copy to clipboard operation
itflow copied to clipboard

Date fields issue

Open Wikiphil opened this issue 3 years ago • 8 comments

Hello,

When entrering manualy a date, year's part accepts 6 digits. We have to do right arrow to pass to month and day.

date

date2

Regards.

Wikiphil avatar Jan 17 '22 03:01 Wikiphil

that is very strange mine is not that way. I have tried with Firefox and Chrome. What Browser are you using?

johnnyq avatar Jan 17 '22 16:01 johnnyq

I use Microsoft Edge (Chromium bases) most of the time, suppose to be like Chrome.

Same issue in Chrome.

I'm not able to log in with my Firefox. I'll check this out later today.

I can try from somewhere else.

Wikiphil avatar Jan 17 '22 19:01 Wikiphil

it must be a locale issue for some reason Canada allow 6 digit years, ill see if I can find a solution here

johnnyq avatar Jan 18 '22 02:01 johnnyq

No, not sure about locale issue. I'll try on another environment. US with Edge US. I let you know.

Wikiphil avatar Jan 19 '22 18:01 Wikiphil

okay sounds good @Wikiphil I will wait on your response thank you

johnnyq avatar Jan 19 '22 19:01 johnnyq

I've tested on Windows Server 2019 with Edge latest version: same issue.

20220122-date1

Edge is configured en-US 20220122-date2

Windows is configured en-US too 20220122-date3

Wikiphil avatar Jan 23 '22 01:01 Wikiphil

May be I have solution for this issue.

When there is no limit on the date fields, I'm able to enter 6 digits year

20220122-date4

If I put limit on it, it works as excepted.

20220122-date5

Let me know what you do you think about this avenue.

Wikiphil avatar Jan 23 '22 01:01 Wikiphil

that sounds like a plan, I will implement that. Im not quite sure whats different from my setup and yours, that may be causing this super weird but ill apply your fix thank you

johnnyq avatar Jan 24 '22 04:01 johnnyq

I'm able to replicate this also. A bit of research shows this is due to the design of the HTML date field (there's a 4-character mask, but a 6-character limit). image

wrongecho avatar Dec 17 '22 17:12 wrongecho