bs4Dash icon indicating copy to clipboard operation
bs4Dash copied to clipboard

Use `listGroup` element as a reactive input?

Open mbacou opened this issue 5 years ago • 4 comments

Hello,

Is it possible to capture which listGroupItem of a listGroup is currently selected, or else can I update another reactive output on the onClick event of a listGroupItem? I'm constructing a list like the one below and would like to trigger some content update on the server when the user clicks Quote 1 or Quote 2.

image

If this is not possible currently, is there another approach that might work?

Many thanks!

mbacou avatar Jan 10 '21 19:01 mbacou

Exact. This is not yet in the JS code.

DivadNojnarg avatar Jan 11 '21 17:01 DivadNojnarg

Thx. This is a limitation in the current shiny implementation, right? Not related to bs4Dash?

mbacou avatar Jan 14 '21 16:01 mbacou

This is a {bs4Dash}/AdminLTE limitation. There is no JS API for such static components, like many other elements (timeline, ...). I guess this is the next step for the package.

DivadNojnarg avatar Feb 03 '21 00:02 DivadNojnarg

hello, and the [userList] [productList] just the same? cant't reactive input, or sent an event to another elements?

donasoo avatar Mar 12 '23 03:03 donasoo