Winston Chang
59e6f08455
Merge branch 'textarea'
2016-08-12 21:26:55 -05:00
Nuno Agostinho
562b4dad4d
Add textarea input
2016-08-12 17:19:23 -05:00
Winston Chang
4b0ed3f224
updateDateInput: better handling of malformed dates. Closes #1179
2016-08-12 14:43:44 -05:00
Barbara Borges Ribeiro
751e8c189e
fixes #1093 ( #1291 )
...
* fixes #1093
* check if NULL
2016-08-11 14:29:24 -07:00
Joe Cheng
963471b43f
Fix #1144 : RadioButtons and checkBoxGroup do not work in modules when they are updated
...
The unqualified input ID was being used to generate name attributes
on radio and checkboxes.
2016-08-10 15:52:01 -07:00
Winston Chang
bc7d701298
Make examples runnable with shinyApp()
2016-04-05 20:53:59 -05:00
Winston Chang
5d6d75b4f3
Remove shinyUI() and shinyServer() from examples
2016-04-05 15:23:23 -05:00
Barbara Borges Ribeiro
0e5a3cc5aa
throw error instead of warning in validateIcon(); updated documentation
2016-03-18 15:32:06 +00:00
Barbara Borges Ribeiro
e04dd3a4b1
check icon validity more robustly; set icon=character(0) as the way to get rid of a previous icon; updated documentaion and NEWS
2016-03-17 21:15:49 +00:00
Barbara Borges Ribeiro
e1fc74bdc1
updates to input_binding_actionbutton.js and got rid of isIcon function (substituted by simple check instead)
2016-03-17 14:47:48 +00:00
Barbara Borges Ribeiro
3ab5d7f861
verify that button icons are in the right format (not necessarily valid though) and added updateActionButton()
2016-03-15 22:19:21 +00:00
Winston Chang
ce0f2c51a9
Use explicit namespaces
2016-01-12 13:33:14 -06:00
Yihui Xie
4202991ca5
Fixes #1018 : make sure the selected value is always returned from server-side selectize
2015-12-09 11:52:50 -06:00
Winston Chang
bc0a19f55d
updateCheckboxGroup: allow clearing all choices. Fixes #981
2015-10-16 11:44:09 -05:00
Yihui Xie
9ab493a81f
make sure mop is numeric
...
it is funny that head(1:11,'100') produces a bunch of NA's, but head(1:11,'12') does not
2015-09-09 13:29:37 -05:00
Yihui Xie
dfc1f32595
Fixes #929 : defer setValue() for selectize until the options have been loaded from server
...
Previously I was using a hack to set the selected value of selectize, i.e. add the selected option(s) to selectize via addOptions() (because the selected option(s) may not have existed); this hack can be removed and we can set the value in the `success` callback of the Ajax request, by which time the options will be available
2015-09-09 13:29:37 -05:00
Yihui Xie
acad9354a6
Fixes #933 : make sure type is of length one
2015-08-26 10:48:38 -05:00
Winston Chang
241a482236
Add explicit namespace to non-base functions
2015-08-04 12:30:41 -05:00
Winston Chang
d9c7f21c02
Make updateSliderInput work with date/datetimes. Fixes #904
2015-07-21 12:32:18 -05:00
Winston Chang
926e508b8d
Fix updateSliderInput example code
2015-07-21 12:31:31 -05:00
Yihui Xie
a5e64274a2
Add two aliases of updateTabsetPanel(): updateNavbarPage() and updateNavlistPanel()
...
https://groups.google.com/d/msg/shiny-discuss/8VctqPqeurw/uAQIBvA1CpAJ
2015-07-02 01:37:14 -05:00
Yihui Xie
89bc7efbca
query$field is either an atomic vector, or a matrix, so use c() to coerce the result to a vector (previously RJSONIO::fromJSON() would return a list, but now jsonlite returns a matrix)
2015-05-20 12:44:13 -05:00
Yihui Xie
8df98c29b8
this comment is no longer true
2015-05-15 15:06:23 -05:00
Yihui Xie
7554f8395b
fixes #814 : load options after initialization of selectize in the server mode
2015-05-15 15:05:39 -05:00
Joe Cheng
fdbcb32be7
Allow updateSelectInput(choices=character(0)) to clear select choices
2015-03-24 13:00:00 -07:00
Winston Chang
defedda891
Switch from RJSONIO to jsonlite (again)
2015-02-23 16:41:36 -06:00
Winston Chang
040ae293fb
Revert switch to jsonlite
...
This reverts commits deffc90 , ab4dc64 , and 0755579 , returning to RJSONIO.
The purpose of this is to prepare for a maintenance release for 0.11
without the switch to jsonlite, to reduce the risk of new bugs.
2015-02-06 10:53:54 -06:00
Winston Chang
b7acaf9519
Convert donttest examples; check for interactive() instead
2015-01-22 13:21:23 -06:00
Winston Chang
075557929a
Switch from RJSONIO to jsonlite
2015-01-21 14:12:53 -06:00
Winston Chang
96b646b94a
Rename slider2Input to replace sliderInput
2014-11-26 14:20:25 -06:00
Winston Chang
623036f03b
Add updateSlider2Input
2014-11-26 14:19:05 -06:00
Yihui Xie
c8efd31d08
encode the JSON response for DataTables/selectize with UTF-8
...
to make sure multibyte characters in DataTables/selectize work
2014-11-13 10:27:56 -06:00
Yihui Xie
063ac989be
closes yihui/shiny#4 after cleaning it up a bit
...
use [searchField] instead of $.makeArray(), and unlist() it on the R side
2014-08-22 00:11:00 -05:00
Yihui Xie
c095085d84
fixes #557 : choicesWithNames() turns a character vector to a list, which is no longer appropriate as a column in data.frame()
2014-08-01 16:37:20 -05:00
Winston Chang
7159293337
Use consistent indentation for function definitions
2014-07-16 17:04:22 -05:00
Yihui Xie
29dd405fe5
the options and ... arguments are no longer needed
2014-07-16 15:50:31 -05:00
Yihui Xie
0f0b0cd3d8
explicitly define updateSelectInput() instead of using the trick to change the options argument of updateInputOptions()
2014-07-16 15:50:08 -05:00
Yihui Xie
1b68d61e54
R CMD check will warn against the possibly missing variables inline and type
2014-07-11 17:36:37 -05:00
Yihui Xie
418de862e6
rename newOptions to config
2014-07-11 14:17:08 -05:00
Yihui Xie
413653858e
inherit doc for updateFooInput() from fooInput()
2014-07-11 14:03:47 -05:00
Yihui Xie
d2fc851816
make updateSelectInput(), updateCheckboxGroupInput(), and updateRadioButtons() work
...
now session$sendInputMessage() does not send options as the choices data, but as a pre-generated raw HTML string; in shiny.js, we just receive this string, and .append() it to the input after the input is emptied
2014-07-11 14:03:47 -05:00
Yihui Xie
b6ee67aa41
make the selected argument of updateSelectizeInput() work even in the server mode
2014-04-25 02:38:38 -05:00
Yihui Xie
07bed0c7c7
factor out a function columnToRowData() so both updateSelectInput() and selectizeJSON() can use it
2014-04-25 02:37:45 -05:00
Yihui Xie
0be1ee46f2
do not ignore the names of choices data
2014-04-22 17:58:19 -05:00
Yihui Xie
62aaab0926
closes #422 : update the selectize options via updateSelectizeInput(options)
2014-04-14 22:34:48 -05:00
Yihui Xie
d9be6f1d2e
implementing the server-side selectize input
...
also added a new method shinysession$registerDataObj(), which was designed to be a general data retrieval method: we can store arbitrary data objects as "downloads", and return arbitrary http response based on the filter function; see renderDataTable() and updateSelectizeInput() for two examples
2014-04-13 00:02:08 -05:00
Yihui Xie
b2d004ca1a
closes #31 : try to avoid scientific notation of numbers
2014-02-25 22:58:08 -06:00
Yihui Xie
2e16fa1d70
fixes #401 : pass numbers as character strings in updateNumericInput() to preserver numeric precision when possible
2014-02-19 22:11:39 -06:00
Yihui Xie
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00
Joe Cheng
dce66945ec
Merge pull request #340 from yihui/bug/null-choices
...
fix the bug when choices=NULL in updateCheckboxGroupInput()
2014-01-11 13:43:05 -08:00