Feature Request: Key-value pair input widget for Shiny

31 views
Skip to first unread message

RN

unread,
Jan 16, 2017, 12:33:20 PM1/16/17
to Shiny - Web Framework for R
A question /  feature request:

It's very often that one needs a key-value type input in an UI. e.g. For a grocery shopping application I might have the user enter item names and the quantity he wants etc. 

The possible list of grocery items might be thousands so you don't really want an input box for each item. Rather the user dynamically selects his items and you provide a numeric input box for each item he wants. 

I feel to capture something like this there ought to be a standard function or workflow in Shiny. I did get what I wanted (see link below) but the code sounds rather complicated. On the other hand, if there's an easier way to do this I'd love to hear. 


Can't this be made into a standard UI widget? Where I give it a list of items like usual for a multi select box and the input function does the rest?
Reply all
Reply to author
Forward
0 new messages