Skip to content

Commit

Permalink
Corrections after review
Browse files Browse the repository at this point in the history
  • Loading branch information
filipakkad committed Jun 30, 2022
1 parent dda8948 commit 68c4e1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion inst/examples/components/RangeSlider.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ library(appsilon.blueprint)
ui <- function(id) {
ns <- NS(id)
tagList(
# RangeSlider must be controlled
RangeSlider.shinyInput(
inputId = ns("value"),
min = 0,
Expand Down
2 changes: 1 addition & 1 deletion inst/www/blueprint.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/src/inputs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Switch = InputAdapter(Blueprint.Switch, (value, setValue) => ({

export const FileInput = InputAdapter(Blueprint.FileInput, (value, setValue) => ({
text: value,
onInputChange: (event) => setValue(event.target.value),
onInputChange: (event) => setValue(event.target.files[0].name),
}));

export const NumericInput = InputAdapter(Blueprint.NumericInput, (value, setValue) => ({
Expand Down

0 comments on commit 68c4e1a

Please sign in to comment.