mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 23:48:01 -05:00
changed the test structure
This commit is contained in:
@@ -15,9 +15,7 @@ $.extend(radioInputBinding, {
|
||||
}
|
||||
},
|
||||
setValue: function(el, value) {
|
||||
if (value === undefined) {
|
||||
return;
|
||||
} else if (value.length === 0) {
|
||||
if ($.isArray(value) && value.length === 0) {
|
||||
// Removing all checked item if the sent data is empty
|
||||
$('input:radio[name="' + $escape(el.id) + '"]').prop('checked', false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user