The R side requires either a default value or a type argument to param, but this is not checked on the client side, which always sends back a string.
The type argument might also help select the control in some cases (like date). but the text entry control should accept either the (R) type 'numeric' or 'character', JavaScript string or number. And it should send only this type back.
The R side requires either a default value or a type argument to
param
, but this is not checked on the client side, which always sends back a string.The type argument might also help select the control in some cases (like date). but the text entry control should accept either the (R) type 'numeric' or 'character', JavaScript string or number. And it should send only this type back.