I have a simple textInput:
textInput(inputId = "input1", h4("Name"), value = "Your name")
How can I set an onclick event so that the text completely disappears when the user clicks on the text field? Is this possible via shinyjs::onclick
?
you can use placeholder
option in textInput
textInput(inputId = "input1", label = h4("Name"), placeholder = "Please provide your name...")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With