shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
382 stars 75 forks source link

Menu item remains visible when hidden is set to `true` using `navigation:form` #2268

Open hlayisanimazuze opened 1 month ago

hlayisanimazuze commented 1 month ago

When using navigation:form, setting the hidden property to true does not hide the menu item as expected

Steps to reproduce the behavior:

  1. Go to 'https://functional-adminportal-test.azurewebsites.net/'
  2. Click on 'side menu' configuration
  3. Check menu item written: Navigation form and update the hidden value to true
  4. Save your changes and refresh the page
  5. Actual Results: The menu item remains visible even though the hidden property is set to true

From the updateValue endpoint, the payload shows that the value is sent through, and getsheshamainmenusetting brings back the correct value image

image

Expected behavior The menu item should be hidden from the side menu when hidden is set to true

hlayisanimazuze commented 1 month ago

Related https://github.com/shesha-io/shesha-framework/issues/1591