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:
Has anyone else come across this issue and has a fix for it?
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.
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:
Has anyone else come across this issue and has a fix for it?
I'm currently running 9.3.1 and not seeing this issue:
Do you perhaps have any console errors ?
Hi Ambert,
No, I'm not getting any console errors.
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.
Hah! I assumed you were running a clean version, but now it appears you weren't. Glad you've fixed it!
is working on a reply...