InputFormat not available

Dear SyncFusion Community/Team,

We are using the SfTimePicker with a TValue of TimeOnly to allow Users to enter Times in the HH:mm Format. However, trying to enter a time like 1:00 does not result in an error but does not save either. If you enter 01:00 it works. I tried using the InputFormat property to fix this, but it somehow isn't available. We're using Syncfusion 26.2.10

Thanks in advance


Luis Weinzierl


2 Replies

KP Kokila Poovendran Syncfusion Team September 25, 2024 02:10 PM UTC

Hi Luis Weinzierl

We have reviewed your query regarding the InputFormat property in the SfTimePicker component using TimeOnly as TValue. The InputFormat feature was introduced in version 27.1.48 of Syncfusion components. However, since you are currently using version 26.2.10, this feature is not available in your version.

We recommend updating to version 27.1.48 or later to utilize the InputFormat property. However, we are aware of an issue with the InputFormat property when used with the TimeOnly type. We have already logged this as a bug, and our team is working on a fix. The resolution is expected to be included in a patch release around mid-October.

You can track the status of this issue via the following feedback link:
Feedback Link: The InputFormat property is not functioning correctly with the TimeOnly type

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


If you have any further questions or need assistance with the update, feel free to contact us.



KP Kokila Poovendran Syncfusion Team October 17, 2024 11:34 AM UTC

Hi Luis Weinzierl,


We have included the fix for the issue "The InputFormat property is not functioning correctly with the TimeOnly type
" with our package version “27.1.53”. Therefore, we recommend upgrading to our latest version to resolve the current issue.

Root cause:

When parsing the time using the TimeParse method, the case does not consider the input format to obtain the correct time format.


Release Noteshttps://blazor.syncfusion.com/documentation/release-notes/27.1.53?type=all#bug-fixes-9


Loader.
Up arrow icon