New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update placeholder via updateTextInput #1738

Closed
bklingen opened this Issue Jun 10, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@bklingen

bklingen commented Jun 10, 2017

I think it would be very useful to allow easy updating of the placeholder parameter, too, via updateTextInput or updateTextAreaInput. Currently, these two update functions only allow updating label and value.

@carlganz

This comment has been minimized.

Contributor

carlganz commented Jun 12, 2017

This is easy to implement. Would only require a small amount of code here: https://github.com/rstudio/shiny/blob/master/srcjs/input_binding_text.js#L32

Happy to make pull request if shiny team is interested.

@wch

This comment has been minimized.

Collaborator

wch commented Jun 13, 2017

@carlganz I think it's a good idea - we'd definitely consider it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment