shiny.semantic icon indicating copy to clipboard operation
shiny.semantic copied to clipboard

[Bug]: Upper value for range_input missing

Open ilyaZar opened this issue 2 years ago • 0 comments

Guidelines

  • [X] I agree to follow this project's Contributing Guidelines.

Project Version

3.5.1

Platform and OS Version

Ubuntu 20.04

Existing Issues

No response

What happened?

This may be due to Fomantic UI but, for range_input(...)

input[[input_id]

only returns the lower bound the the slider input. One cannot make use of the upper bound....

Steps to reproduce

  1. Either in observeEvent(),
  2. or via message(input[["name_of_input_id"]]),
  3. or via message(input$name_of_input_id) all print a single integer being the lower bound.

Also print(str(input[["name_of_input_id"]])) gives

List of 1 $ : int ...

A quick way to see this also is to run the examples: https://github.com/Appsilon/shiny.semantic/blob/develop/examples/slider_input/app.R

which only produces a single number, set to the lower bound, for the top most range_input().

Expected behavior

One would expect a list of two or a vector of length two with upper/lower bound values of the range_input()

Attachments

No response

Screenshots or Videos

No response

Additional Information

Sorry for posting this here, as this might be against the guidelines I agreed to follow, but I could not find a post on SO or any other source.

ilyaZar avatar Sep 05 '22 13:09 ilyaZar