Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Disabled item text color did not change in the popup correctly.



 

<SfTimePicker TValue="DateTime?" CssClass="e-custom" Placeholder='Choose a Date'>

    <TimePickerEvents TValue="DateTime?" OnItemRender="itemRenderEvent"></TimePickerEvents>

</SfTimePicker>

@code{

    public void itemRenderEvent(ItemEventArgs<DateTime?> args)

    {

        if(args.Text == "12:00 AM")

            {

            args.IsDisabled = true;

            }

    }

 

    }

We can resolve the issue by overriding the CSS as mentioned below.

 

<style>

    .e-custom.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-disabled {

       color: rgba(0,0,0,0.38);

    }

</style>

 

Empty