Skip to content
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

filter_select default value #35

Open
pssguy opened this issue Apr 20, 2017 · 18 comments · May be fixed by #70
Open

filter_select default value #35

pssguy opened this issue Apr 20, 2017 · 18 comments · May be fixed by #70

Comments

@pssguy
Copy link

pssguy commented Apr 20, 2017

Would it be possible, please, to add a selected parameter cf for shiny selectInput
i.e
"The initially selected value (or multiple values if multiple = TRUE). If not specified then defaults to the first value for single-select lists and no values for multiple select lists."

Also a width option would be useful

@ajpil
Copy link

ajpil commented Apr 28, 2017

I agree with this idea.
Also, I'm not sure if I am putting this in the right place, but I can't see how to set the filter to work on a single value (and not on a range).

@Zibetti
Copy link

Zibetti commented Jun 4, 2017

This would be a very nice feature!
There is any way to implement this ?

@tbadams45
Copy link

I also would appreciate this feature.

@pssguy
Copy link
Author

pssguy commented Jul 27, 2017

Any chance of a reply to whether this is on the horizon, or even possible?

@pssguy
Copy link
Author

pssguy commented Aug 18, 2017

It would be so nice to be able to avoid images like this for users
crosstalkissue

@pdbentley
Copy link

Same boat - presenting all the data in one hit loses its narrative effect.

@vasim07
Copy link

vasim07 commented Jul 24, 2018

It will be nice to have this.

@djouallah
Copy link

same here, very nice to have

@rdwinkelman
Copy link

I would really like to see this as well!

@dmklotz
Copy link

dmklotz commented Jun 28, 2019

In the short term, has anybody found a good way to modify these selectors using custom Javscript (e.g. with htmlwidgets::onRender), like on this thread?

@keithmichaelf
Copy link

@dmklotz I guess no one has found a solution to this yet. Is there going to be a new update for crosstalk that will include this feature?

jcheng5 added a commit that referenced this issue Jul 7, 2019
@jcheng5 jcheng5 linked a pull request Jul 7, 2019 that will close this issue
@skchronicles
Copy link

@jcheng5 I saw that you started to implement a solution for this issue but there are still a few bugs to work out. I was just wondering if you had any updates. I am also interested in this feature.

@pssguy
Copy link
Author

pssguy commented Jan 15, 2021

Perhaps Joe's saving it as the big announcement at next week's conference!

@AlexanderWanitschke
Copy link

same here. no default renders it useless for many applications

@DataStrategist
Copy link

Also looking to implement this. In my application, I have a Data Table that was working fine prior to the addition of "a lot" of data (still less than 20k rows, but I guess that's a lot for the browser), and now the dashboard won't render at all. If I could select a default value, the table would never show more than 10 rows.

@landisrm
Copy link

+1 for this. Having the default be "all" makes this useless for many applications. It would be great to set a default value.

@davidaarmstrong
Copy link

+1 for this as well, but in the meantime, in case someone else ends up here, there is a good StackOverflow Answer that describes how you could use a JS chunk to select values on window load. Note, if you're knitting this from RStudio, you'll have to open the resulting display in a browser for the JS item selection to work.

@aito123
Copy link

aito123 commented Dec 29, 2024

Any update on this petition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.