I am trying to set a default (or fallback) value for numericInput()
in my shiny app to prevent NAs
.
I am aware that the NA
can be dealt with later in the server.r, but was wondering if there is a more elegant way of replacing the value within the input whenever a user deletes it in the ui.