asp.net core - Styling built-in date picker in Blazor - Stack Overflow

I'm working on my first Blazor project so I think this is a newbie question. I noticed that if I u

I'm working on my first Blazor project so I think this is a newbie question. I noticed that if I use the built-in InputDate control, it automatically provides a date picker.

My project uses a dark theme as its default theme and out of the box, the date picker is white -- see below:

Where can I find any documentation on how to stylize this control? I searched the official documentation at this link but couldn't find anything there. Thanks.

I'm working on my first Blazor project so I think this is a newbie question. I noticed that if I use the built-in InputDate control, it automatically provides a date picker.

My project uses a dark theme as its default theme and out of the box, the date picker is white -- see below:

Where can I find any documentation on how to stylize this control? I searched the official documentation at this link but couldn't find anything there. Thanks.

Share Improve this question asked Mar 25 at 20:00 SamSam 30.6k76 gold badges252 silver badges464 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

the built-in Blazor <InputDate> renders the native HTML5 date picker and they are rendered by the browser and cannot be fully styled via CSS. That white popup you see is part of the browser's built-in UI and it cannot be changed using any custom styling.

I Suggest to use a Custom Date Picker Library

  • Blazorise

  • MudBlazor

  • Syncfusion

  • Telerik

  • DevExpress

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744171756a4561570.html

相关推荐

  • asp.net core - Styling built-in date picker in Blazor - Stack Overflow

    I'm working on my first Blazor project so I think this is a newbie question. I noticed that if I u

    9天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信