Comments (5)
False to true I meant in the start. I build all checkboxes starting without a value
from shinywidgets.
Hi, I've try to recreate the situation you described, this seems to work, can you provide an example where it doesn't ?
library(shiny)
library(shinyWidgets)
ui <- fluidPage(
tags$h2("dropdown update test"),
fluidRow(
column(
width = 6,
dropdownButton(
uiOutput(outputId = "params"),
icon = icon("sliders")
),
verbatimTextOutput(outputId = "res")
),
column(
width = 6,
checkboxInput(inputId = "update", label = "update")
)
)
)
server <- function(input, output, session) {
output$params <- renderUI({
checkboxInput(inputId = "my_cb", label = "a checkbox", value = FALSE)
})
outputOptions(x = output, name = "params", suspendWhenHidden = FALSE)
observeEvent(input$update, {
updateCheckboxInput(session = session, inputId = "my_cb", value = input$update)
}, ignoreInit = TRUE)
}
shinyApp(ui, server)
from shinywidgets.
I fixed it but can't remember how exactly. I this it was because i build the checkboxes without a value argument which causes updating of it to true fail perhaps .
Anyways..... Did you have any luck with looking at the easy close false solution to add to the dropdown buttons?
from shinywidgets.
No it's not working yet, I can prevent dropdown's closing but after it's really impossible to close it, i'll have 2~3 idea to go further. I close this for now and i'll keep you posted for the easyClose option.
from shinywidgets.
from shinywidgets.
Related Issues (20)
- input_date_range in conjunction with map widget HOT 1
- updateProgressBar generates JS errors HOT 2
- Status is not updated in updateAwesomeRadio HOT 2
- Extend prepare_choices to include classNames HOT 2
- virtualSelectInput and updateVirtualSelect - selected arg not working for named lists HOT 1
- virtualSelectInput does not adhere to theme changes HOT 7
- Make binding for clearing text input field in airDatePickerInput (return NA or NULL) HOT 3
- virtualSelectInput does not respect onServerChange HOT 2
- UI bug (?) materialSwitch version > 0.8.0 HOT 2
- Consider upgrading Air-datepicker to 3.4.0 HOT 2
- Regression in v0.8.1: "Duplicate binding for ID" error with "animation = F" option. HOT 1
- Select one element per group did not work after updatePickerInput ('max-options-group' = 1) HOT 3
- allow additional text in progressSweetAlert and updateProgressBar HOT 3
- Any chances for update of virtual-select.js? HOT 2
- Include the required files for virtualSelect tooltips
- How to update noUiSlider from the 15.6.1 to latest one HOT 1
- Reversed logic for named-list input in inputSweetAlert in "select"-mode
- [Feature Request] Provide all drop down style pickers (pickerInput, virtualSelectInput) the option to update on close HOT 4
- materialSwitch won't align to end in flexbox HOT 1
- Internationalization for pickerInput's actions-box HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinywidgets.