Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • LewisParkinson 9 posts 49 karma points
    Mar 11, 2022 @ 10:52
    LewisParkinson
    0

    Toggle field not working - Umbraco 9.3.1

    I have installed version 9.3.1 of the umbraco CMS to my ASP.NET 5.0 project and noticed that the Toggle field doesn't look like it is working.

    The functionality of the toggle is working fine. So, when I select the toggle it will change the field value to True or False. But, the toggle always looks like it is set to False within the CMS dashboard.

    The field in this screenshot below is currently set to true. But, as you can see it looks like it's currently false:

    enter image description here

    Has anyone else come across this issue and has a fix for it?

  • Ambert van Unen 175 posts 819 karma points c-trib
    Mar 11, 2022 @ 11:52
    Ambert van Unen
    0

    I'm currently running 9.3.1 and not seeing this issue:

    enter image description here

    Do you perhaps have any console errors ?

  • LewisParkinson 9 posts 49 karma points
    Mar 11, 2022 @ 13:51
    LewisParkinson
    0

    Hi Ambert,

    No, I'm not getting any console errors.

  • LewisParkinson 9 posts 49 karma points
    Mar 14, 2022 @ 15:58
    LewisParkinson
    100

    I have found why my project was having this issue.

    I am using the WebMarkupMin.AspNetCore5 nuget package to minify my markup and this was causing the toggle field to stop working properly. I have removed this markup from the Startup.cs file and now everything is now working as it should.

  • Ambert van Unen 175 posts 819 karma points c-trib
    Mar 14, 2022 @ 19:37
    Ambert van Unen
    0

    Hah! I assumed you were running a clean version, but now it appears you weren't. Glad you've fixed it!

Please Sign in or register to post replies

Write your reply to:

Draft