pmui.Details not working

Dear All,

I just try pmui.Details unfortunately it displayed nothing, kindly please advise. I use latest panel material ui (0.8.0)

import panel as pn
import panel_material_ui as pmui

pn.extension()

long_content = pn.Column(*[
    pn.pane.Str(f"Item {i}") for i in range(20)
], margin=5)

pmui.Details(
    long_content,
    title='Details'
)
code = pn.pane.Markdown(code, margin=0, stylesheets=['.codehilite { margin: 0}'])

details = pmui.Details(code, title='Details', margin=10, collapsed=False)
details

Has it been released yet? If not you may need to run pixi run compile-dev

Hi @ahuang11

thanks for your suggestion, i run it before serve the panel?

is it not release yet? because already in documentation:
https://panel-material-ui.holoviz.org/reference/layouts/Details.html

kindly please advise

regards

The example code run in a Jupyter Notebook so calling “details” does produce the correct inline output. If you are running it on the cmd line you need.

details.show()
Launching server at http://localhost:65050
<panel.io.server.Server at 0x1d0f8233380>

thanks , probably previously the update of my panel not complete so Details not working, currently after redo update panel it works

thank you

1 Like

Clearing browser cache works too.