title: How to avoid running initial observeEvent of dynamically added input
body: <p>When a dynamic input element is added to the UI it will trigger its already existing observeEvent. In particular, see the example below where the textInput is added dynamically at the first load of the server side function. Then when it renders the observeEvent will be triggered. </p>
  
  <p>Is there a way in which we can generically avoid this triggering on addition of the input element, in particular, I would like testing input 1 and testing input 2 two fire in a similar fashion, that is, not at initiation.</p>
  
  <p>The UI.R file</p>
  
  <pre><code>library(shiny)
  
  # Define UI for application that draws a histogram
  shinyUI(fluidPage(
  
   fluidRow(
     uiOutput("my_output"),
     textInput(inputId = "test2", label = "test2", value = "start value"))
  
  ))
  </code></pre>
  
  <p>The server.R file</p>
  
  <pre><code>library(shiny)
  
  first.load &lt;- TRUE
  shinyServer(function(input, output) {
  
    if(first.load){
      output$my_output &lt;- renderUI({
        textInput(inputId = "test", label = "test", value = NULL)
      })
    }
  
    observeEvent(input$test2,{
      browser()
    }, ignoreInit = T)
  
    observeEvent(input$test, {
      browser()
    }, ignoreInit = T)
  })
  </code></pre>