I would like my Shiny app (in R) to limit the number of characters a user can input in response to a textInput command.
I can request the user to limit to 50 characters and can have the app send him a message if he does not, but it would be better if he were prevented from overrunning the limit in the first place.
Suggestions appreciated.
For example by using
shinyBS
andstringr
packages:Demo page for shinyBS:ShinyBS