-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add example to README of rich content in rank_list #31
Comments
NOTE: This is where the values are coerced to text, and could be extended / replaced by a user (like me) 😄 sortable/R/sortable_js_capture_input.R Lines 14 to 27 in 8251b35
|
This was referenced Jul 21, 2019
Closed
andrie
added a commit
that referenced
this issue
Oct 13, 2020
andrie
added a commit
that referenced
this issue
Feb 26, 2021
* Capture error if bucket_list header is empty #31 * Remove context() statements from tests * Use testthat 3rd edition. * Fix rank-list-item that spills outside the container boundary #68 * Allow bucket_list to have empty header, and capture error better #69 * Revert to `header = NULL` as default; improve handling of is_header() * Update is_header() with suggested assertions Co-authored-by: Barret Schloerke <barret@rstudio.com> * Update R/bucket_list.R after code review Co-authored-by: Barret Schloerke <barret@rstudio.com> Co-authored-by: Barret Schloerke <barret@rstudio.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It took me a little while to understand enough to build a (silly) example, so I think it would be worthwhile showing how to build rich content inside of a rank_list! (Probably with a more interesting example)
However, I will say that the Shiny input does not seem to be initialized properly at the start (requires moving something to get the inputs working), and it would be nice to have some hooks into what is returned. I.e. if I could define my own ID for each label and have that returned.
After moving something:
(I believe this is because of the following, which does not fire until sorted:)
sortable/R/rank_list.R
Line 81 in ef56c4c
However, if you want a "hidden" ID or something, you can use
font-size: 0
as a trick 😄The text was updated successfully, but these errors were encountered: