Blazor Hybrid MAUI TimePicker Spinner Style

Erik A 0 Reputation points
2023-06-13T09:01:20.9533333+00:00

We are using a TimePicker in Blazor Hybrid MAUI like this:

<input type="time" id="arrivalTimePickerH" name="arrivalTimePickerHT" style="width:100%;height:40px;border-bottom:1px #bdbdbd solid;" onfocus="this.showPicker()">

Now we got a lot of complaints from users that they don't like the Material Design Native TimePicker with this round-style clock.

I have implemented the code from this Stack Overflow post

But it does not work, the code compiles but the clock is still the round type clock. How can I get the spinner clock in Blazor Hybrid MAUI?

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | Other
Developer technologies | C#
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,926 Reputation points Volunteer Moderator
    2023-06-13T16:14:47.4933333+00:00

    your code is not using the MAUI time picker, but rather the webview (browser) <input type="time"> picker. you will need to create a replacement time picker using css and html. google for samples written in javascript.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.