Comments (1)
After further investigations, it seems that it demands to change the way settings are given to modal
, instead of using ordered vector, one could use lists :
settings = list(
c("blurring", "true"),
c("closable", "false"),
c("onApprove", htmlwidgets::JS("() => false"))
)
should become :
settings = list(
blurring = "true",
closable = "false",
onApprove = htmlwidgets::JS("() => false")
)
and modal apply part would go from :
...
shiny::tagList(lapply(settings, function(x) tags$script(attach_rule(id, "setting", x[1], x[2]))))
to :
...
shiny::tagList(lapply(names(settings), function(x) tags$script(attach_rule(id, "setting", x, settings[[x]]))))
from shiny.semantic.
Related Issues (20)
- [Bug]: Upper value for range_input missing
- New documentation page for shiny.semantic
- New CI for shiny.semantic HOT 1
- New labels for shiny.semantic
- `multiple_radio()` with a single choice HOT 1
- [Feature]: Enable placeholder in `numeric_input` HOT 2
- [Bug]: CSS stylesheet broken HOT 4
- [Bug]: as_is parameter in modal-related functions is not functional HOT 1
- Timeline for next CRAN release for this package? HOT 1
- [Feature]: allow adding optional id to the body tag HOT 1
- [Bug]: Issues when rendering tabset
- [Bug]: Plots doesn't resize inside grids HOT 1
- [Bug]: range_input doesn't register value2 HOT 1
- Use local assets instead of CDN
- [Bug]: Small misalignment using shiny.semantic::grid_template
- [Bug]: Typo in an example
- [Bug]: slider_input with some themes
- [Bug]: it's not possible to clear dropdown_input
- [Bug]: demo not rendering
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 shiny.semantic.