Search code examples
rsearchablereactable

Change search bar text in reactable table in R


How do you change the search bar text "Search" in a reactable table? I would like to change "Search" to "Search for Your Name"

I have looked everywhere online for a solution but haven't found anything. The reactable examples article doesn't have anything either. Also, their section on custom filtering has examples that don't work anymore.

data <- MASS::Cars93[1:20, c("Manufacturer", "Model", "Type", "AirBags", "Price")]
reactable(data, searchable = TRUE, minRows = 10)

Solution

  • I believe you have to use reactableLang to change the search placeholder. Here you can understand a little better about these features.