javascript - Form input from index.html with Shiny -


i trying use index.html take in dates , hours user , having problems. hours number index.html of

<input type="number" name="var"> 

and later

 output text <pre id="text1" class="shiny-text-output"></pre> 

and in server.r

data <- reactive({  ... dist(input$var) })  output$text1 <- rendertext({   paste("you have selected", input$var) }) 

displays number input in index.html fine. when replace number input type date

<input type="date" name="var"> 

nothing gets displayed.

am going wrong? can give me or point me in right direction great.

this question seems close button submit r shiny "date" not seem custom input.

date , number not input types. need use text type.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -