Let pn.Param accept a list of objects.
Have pn.Param accept a list of objects to concatenate parameters from; right now it only accepts one object and lets you filter it (as @hoxbro showed), but presumably it would make sense to include parameters from wherever they happen to be living to build up a nice list of widgets for a user to display.
Would also increase uniformity? Because pn.Param(objects= would then work like in other Panel components that accept objects=
Issue created as a result of (and citing from) Discord discussion here.
It currently only accepts one object, with filtering, like below:
import panel as pn
pn.extension()
w = pn.widgets.Button(name='Click me')
pn.Param(w, parameters=["height", "visible"], show_name=False)
Related and solved: adds object= support to Flexbox. https://github.com/holoviz/panel/issues/6384
Related: Request to add object=support for 3 - 4 Listlike layouts that do not support it yet : https://github.com/holoviz/panel/issues/6389
Hi @philippjfr . Is there any chance of adding this to the 1.4.2 milestone? I have no idea how much would be involved to do this request.
@Coderambling: I'm pretty sure you didn't mean to mention me...
Because this one has also been added to the 1.4.2 milestone... https://github.com/holoviz/panel/issues/6389
I think philippjr is saying you tagged the wrong philippjfr
Ah ok! Yes I meant @philippjfr !
@Coderambling: I'm pretty sure you didn't mean to mention me...
Correct, thanks for the heads-up!