Restore an input value — restoreInput

v1.7.5|Source: R/bookmark-state.R

Description

This restores an input value from the current restore context. It should be called early on inside of input functions (like textInput()).

restoreInput(id, default)

Arguments

id

Name of the input value to restore.

default

A default value to use, if there's no value to restore.