Yihui Xie
b243bc846b
also include input ID in the warning message, per suggestion of @jcheng5
2014-01-08 14:21:41 -06:00
Yihui Xie
557790b0e5
selected refers to values instead of labels/names of choices
...
added validateSelected() for backward compatibility
2013-12-31 16:48:04 -06:00
Yihui Xie
8eb5a45718
per suggestion of @wch, we do not pass the selected/checked status in the message; the selected values are in message$value, and they will be set via this.setValue(el, data.value) in receiveMessage() in shiny.js
...
also note that updateSelectInput() is essentially the same as updateCheckboxGroupInput() now, because it does not matter if the attribute name is 'selected' or 'checked'
2013-12-31 15:06:17 -06:00
Yihui Xie
7b64cef73b
fixes #176 : the problem of choices=NULL also affects selectInput()
2013-12-31 15:06:17 -06:00
Yihui Xie
106203170e
pass the selected value(s) to checkbox/radio group
2013-12-31 15:06:17 -06:00
Yihui Xie
174d2bfc11
only do mapply() when length(choices) > 0, otherwise options = list(), and this will lead to an empty checkbox/radio group
2013-12-31 15:06:17 -06:00
Winston Chang
ba4f3a1553
Speed up input update functions
2013-06-19 00:34:57 -05:00
Winston Chang
0c19105fbf
Add dateInput and dateRangeInput
...
Also:
* add initialize() method for input bindings
* cleanups for JShint
2013-04-24 12:18:20 -05:00
Winston Chang
1ac2448f90
Split sendMessage into type-specific functions
2013-04-10 12:30:58 -05:00
Winston Chang
b5f34b30d3
Add documentation for input updater functions
2013-04-10 12:13:53 -05:00
Winston Chang
d55335e70b
Make updateFooInput functions behave like fooInput functions
2013-04-08 18:38:16 -05:00
Winston Chang
a8c1dc4bc6
Add dropNulls function
2013-04-08 18:13:26 -05:00
Winston Chang
2897059503
Allow setting labels for all input objects
2013-04-08 18:09:40 -05:00
Winston Chang
d491f9df5a
updateCheckboxGroupInput: clean up and allow setting labels
2013-04-08 17:01:00 -05:00
Winston Chang
73156c6780
Add update-input functions
2013-04-06 09:32:01 -05:00