The DateTimePicker controller only accepts "AM" and "PM" as valid values for the time, but I would like to be able to use lowercase version as well ("am", "pm"). Is there a way to achieve this?
In our 19.1.56 version onwards, we have changed when you enter lowercase meridian values (am or pm), the values are automatically converted to AM or PM. This is the default behavior of our component.
Note: If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.
Thanks for the reply. We're currently using version 20.1.57 though. Does this automatic conversion behavior only work with Mask enabled?
No, this automatic conversion behavior does not only works with mask enabled. This conversion is working both mask enabled and disabled component behavior.
I just realized I didn't encounter that behavior because I had strictMode on. Would it be possible to support that behavior even in strictMode?
On a side note, when I was playing around with a datetimepicker controller without strictMode, it accepted lower case pm and am values for the first few times then it stopped - if you keep switch between lower case am and pm for a while the behavior stops working.
When trying the datetimepicker component enter lowercase meridian values after enabling and disabling the strictMode property but cannot replicate the reported issue on our end. find the validated sample in the below link.
If still, you have faced the same issue then replicate the reported issue on the above sample and revert us with a detailed issue replication procedure. These details will help us to provide an exact solution as earlier as possible.
Can you give this a try for me on that link?
Thanks for your shared information. We have confirmed the reported issue is an issue at our end and this fix will be included in our any one of upcoming patch releases,
You can track the status of this issue from the below feedback.
Disclaimer: The inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization