textInput(paste0("inp1-", wid),label = NULL,value = record$Current_week)
This code was used to dynamically generate text input boxes, where the id for each box is determined by a number called wid.
I attempted to change the background color using the following CSS format, but it did not have the desired effect.
tags$head(tags$style(HTML('#',paste0("inp1-", wid),'{background-color:#f1c232;}')))
If you have any suggestions on how to solve this issue, please let me know.