We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
panel_conditional()
1 parent 53c46fd commit d49f357Copy full SHA for d49f357
shiny/express/ui/_cm_components.py
@@ -1217,7 +1217,6 @@ def panel_well(**kwargs: TagAttrValue) -> RecallContextManager[Tag]:
1217
1218
1219
def panel_conditional(
1220
- *,
1221
condition: str,
1222
**kwargs: TagAttrValue,
1223
) -> RecallContextManager[Tag]:
@@ -1255,10 +1254,8 @@ def panel_conditional(
1255
1254
"""
1256
return RecallContextManager(
1257
ui.panel_conditional,
1258
- kwargs=dict(
1259
- condition=condition,
1260
- **kwargs,
1261
- ),
+ args=(condition,),
+ kwargs=dict(**kwargs),
1262
)
1263
1264
0 commit comments