Skip to content

Commit b5bfb65

Browse files
committed
time picker for the scheduled time
1 parent 0da5d6c commit b5bfb65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/countdown/server.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
library(shiny)
2+
library(shinyWidgets)
23
library(lubridate)
34

45
server <- function(input, output) {
@@ -30,7 +31,7 @@ server <- function(input, output) {
3031
modalDialog(
3132
textInput("title", "Title", value = settings$title),
3233
textInput("subtitle", "Subtitle", value = settings$subtitle),
33-
textInput("schedule", "Time", value = settings$schedule),
34+
airDatepickerInput("schedule", "Time", value = settings$schedule, timepicker = TRUE),
3435
footer = tagList(actionButton('settings_update', 'Update'))
3536
)
3637
)

0 commit comments

Comments
 (0)