Appsilon / shiny.semantic

Shiny support for powerful Fomantic UI library.
http://appsilon.github.io/shiny.semantic
Other
497 stars 96 forks source link

[Bug]: Upper value for range_input missing #418

Closed ilyaZar closed 7 months ago

ilyaZar commented 2 years ago

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.