title: Multiple conditions in condition panel R shiny
body: <p>Is it possible to have multiple conditions when using  conditionpanel  in aa r shiny app? I want to hide a particular UI component for a couple of tabs. Below is what I am trying but it doesn't seem to be applying  when I have multiple conditions:</p>
  
  <pre><code>library(shiny)
  library(shinyWidgets)
  library(shinydashboard)
  library(DT)
  
  sidebar &lt;- dashboardSidebar(
    sidebarMenu(id = "tab",
                menuItem("1", tabName = "1"),
                menuItem("2", tabName = "2"),
                menuItem("3", tabName = "3")
    )
  )
  body &lt;-   ## Body content
    dashboardBody(box(width = 12,fluidRow(
      fluidRow(  column(
        width = 3,  textInput("text1", label = h5("Min"), value = "1")),
        column(
          width = 3, textInput("text2", label = h5("Max"), value = "2")),
        conditionalPanel(
          condition = "input.tab !== '2' || input.tab !== '3'" , column(
          width = 3, textInput("text3", label = h5("Max"), value = "3"))),
        column(
          width = 3, textInput("text4", label = h5("Max"), value = "4")))
  
    )))
  
  ui &lt;-   dashboardPage(dashboardHeader(title = "Scorecard"),
                        sidebar,
                        body)
  
  # Define the server code
  server &lt;- function(input, output,session) {
  
    output$op &lt;-renderDataTable({
      df_format()
    })
  
  }
  
  shinyApp(ui = ui, server = server)
  </code></pre>