Skip to content
Discussion options

You must be logged in to vote

Hello @am007! Mind sharing a snippet of your UI code? One hint I would suggest is to check whether the CMC pages have a defined key in content dictionary in addition to id component property – it is slightly counterintuitive, but pages would not be accessible otherwise, as id is what we use to "store" it on backend, and key is what frontend uses to manage display.

As an example, this won't work:

with wf.init_ui() as ui:
    for page in range(1, 4):
        with ui.Page(id=f"test-cmc-{page}"):
            ui.Text({"text": f"Hello Page {page}!"})
            for page_link in range(1, 4):
                if page_link == page:
                    continue
                ui.Button({"text": f"…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@am077
Comment options

@mmikita95
Comment options

Answer selected by am077
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants