Search Builder disable button LogicAnd, LogicOr

Search Builder disable button LogicAnd, LogicOr

luaan2012luaan2012 Posts: 11Questions: 1Answers: 0

Hii guys, I want know if possible disable buttons Logic without jquery for example: $('.dtsb-logic').hide(), $('.dtsb-logicContainer').hide().

Exist any config for this options in documentation?

Replies

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    You can do that with CSS - see here :

    .dtsb-logicContainer {
      display: none !important;
    }
    

    Colin

  • luaan2012luaan2012 Posts: 11Questions: 1Answers: 0

    Tyy

  • luaan2012luaan2012 Posts: 11Questions: 1Answers: 0

    I have one question, I'll disable condiditons right? but, can't disable a conditition type data and type value R$. Example

    conditions:{
    date: {
    'between': false,
    !between': false,
    },
    num: {
    '=' : false
    }
    },

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Yep, you can remove options - see this manual page. In this example, it's removing the "=" option for numbers - you can confirm that by looking at the "Age" column,

    Colin

Sign In or Register to comment.