You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neither shiny nor yonder have a reset input feature. Shinyjs does provide a reset feature, but the approach is hard-coded and only works on shiny's default inputs. It would be useful if developers had a more generic tool,
resetInput(id= , choices= , values= )
This function could accept a regular expression or multiple regexs as choices or values. This might also better suite a generic updateInput() function. In this case, the reset function would look more like,
resetInput(id= )
id would accept a character vector of ids or perhaps a string marked as a regular expression.
Next steps
Add default field to input classes
Input classes save the selected value specified in *Input() functions as their default
New reset() method for input classes
The text was updated successfully, but these errors were encountered:
Neither shiny nor yonder have a reset input feature. Shinyjs does provide a reset feature, but the approach is hard-coded and only works on shiny's default inputs. It would be useful if developers had a more generic tool,
This function could accept a regular expression or multiple regexs as
choices
orvalues
. This might also better suite a genericupdateInput()
function. In this case, the reset function would look more like,id
would accept a character vector of ids or perhaps a string marked as a regular expression.Next steps
default
field to input classesselected
value specified in*Input()
functions as their defaultreset()
method for input classesThe text was updated successfully, but these errors were encountered: