microsoft / fluentui-blazor

Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
https://www.fluentui-blazor.net
MIT License
3.83k stars 371 forks source link

Allow Custom Time in Time Picker #2654

Closed satyajit-behera closed 1 month ago

satyajit-behera commented 1 month ago

Hi,

Time Picker displays all the time for hours and minutes. Hours displayed from 00 to 23 and minutes from 00 t0 59.

If its possible to customize the display values, it can help in a lot of ways where we can display some specific period to the users in some special cases where the user need to pick only given time

Example I want users to select only a time with a gap of 15 mins. At present I don't see any options to do that.

Thanks.

vnbaaij commented 1 month ago

You should be able to control it with the standard step attribute (we are using standard ), but I could not get it to work on a standard input neither in Edge nor Firefox.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time#step

satyajit-behera commented 1 month ago

Thanks