Closed Dr-Irv closed 1 year ago
Thank you. I guess the problem on /
for the navbar is either just a doc issue or an issue on the visual element.
I think the leading / has been addressed in the doc on_change is not supported on navbar and the doc should be fixed about it
Doc change
As a related issue, it would be nice if navbar
could be used to "navigate" to a part
with a partial. I'd like to have a navbar
at the top of the page that navigates to a page, but then within that page, have a navbar
that changes a partial
within the page.
If I should open up a separate issue for this, let me know.
You can create another issue. But Navbar is really dedicated to navigating to pages. I guess we could find another component that does what you need
You can create another issue. But Navbar is really dedicated to navigating to pages. I guess we could find another component that does what you need
Description If you want to use the
navbar
control, there are 2 issues:on_change()
function, it never gets called."/"
How to reproduce A code fragment
Expected behavior
The
on_change
function should be called. The docs should say that if you want your page to be called, then the LOV should be preceded with a "/". In my example above, if you uselov={[('page1', 'First Page'), ('page2', 'Second Page')]}
then it always opens up the new page in a second window, and the selection isn't correctly reflected in the navbar.Screenshots N/A
Runtime environment Please specify relevant indications.