SfRating StyleSheet
Hi, when using the sfrating component i only get a rectangle box with the value displayed, i have looked in ThemeStudio and it is dispalyed like this in there too. I have added customstyle as per the guidance in Rating - Appearance and can get icons that way but still have the default rectangle textbox with the value showing.
Can you provide Material CSS to allow the visibilty of the stars rating as per the demo's?
Thanks, Martin
Hi Martin,
Query1: When using the sfrating component i only get a rectangle box with the value displayed, I have added customstyle as per the guidance in Rating - Appearance and can get icons that way but still have the default rectangle textbox with the value showing. Can you provide Material CSS to allow the visibilty of the stars rating as per the demo's?
We have created a Blazor app with the Syncfusion Blazor Rating component using the Material theme and the sample works fine without any issues on our end. We suspect that you may not have included the Syncfusion.Blazor.Themes NuGet package. Could you please check the below sample & UG documentation and get back to us if you faced any issues or need further assistance?
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample539605753
Query2: I have looked in ThemeStudio and it is displayed like this in there too
We have identified an issue with the Rating component in our Blazor Theme Studio. We will address and resolve this problem in our upcoming Volume 2 2023 release, and we will keep you updated.
Please find the following feedback link: https://www.syncfusion.com/feedback/44368/rating-component-not-working-properly-in-blazor-theme-studio
Regards,
Bharat Ram H
Thanks, i have the Syncfusion.Blazor.Themes nuget installed but v 21.1.38. I was hoping to get the css like you would from theme studio as i use a customised theme. Is it possible to just supply the css for the component or is the blazor.themese nuget also required and to be updated?
Hi Martin,
Your requirement to customize our Rating component can be achievable by any of the following solutions:
#1 Customize using Web Compiler
You can customize our existing themes and bundle stylesheets in your application using npm blazor-themes package directly or by LibMan Library Manager. For more details, please check out the below UG documentation links.
https://blazor.syncfusion.com/documentation/appearance/themes#libman
https://blazor.syncfusion.com/documentation/appearance/themes#npm-package-reference
#2 Using Theme Studio
You can customize and generate themes specifically for the selected (used) components. However, we are currently working on fixing an issue with the Rating component on the Blazor Theme Studio. As promised, we will update you once resolved in our LIVE theme studio.
We appreciate your patience until then.
#3 Using CSS overriding
You can use our ‘CssClass’ property to customize our Rating component and for more details, please refer to the below documentation.
https://blazor.syncfusion.com/documentation/rating/appearance#cssclass
Could you please check the above details and get back to us if you need any further assistance?
Regards,
Bharat Ram H
Hi Martin,
We have resolved the reported issue with the Rating component in the Blazor Theme Studio, and it has been refreshed live.
Could you please check and let us know if you encounter any issues?
https://blazor.syncfusion.com/themestudio
Regards,
Bharat Ram H
- 4 Replies
- 2 Participants
-
MA Martin
- Jun 7, 2023 09:40 AM UTC
- Jul 4, 2023 01:29 PM UTC