Skip to content

Instantly share code, notes, and snippets.

@krenova
krenova / app.R
Last active July 18, 2016 13:47
Gist for Shiny_TimeInput
ui <- fluidPage(
title = 'Time inputs in Shiny',
div( id = "eg1",
fluidRow(
column(width = 11, offset = 1,
HTML('<br>'),
h4('Example 1: Using HTML time input type'),
tags$label("Time", `for` = "ui_time"),
HTML('<br><input id="ui_time" type="time", value = ""><br><br>'),
h4(textOutput("output_html"))