New Community Forums are coming. Watch this space for news.
Subscribe: RSS
  • Hi MODX community,

    I tried to created an reset all button in DB-filters of Migx but unsuccessfully.
    In the DB-filters tab i created a new item with the following configs :

    filter Name : clear
    label : Effacer les filtres
    Empty text : Effacer
    Filter type : resetall

    I pretty sure i'm missing something.
    Thanks in advance for any help.
    • Up anyone ? Any ideas ?
      • Hi Steeve,

        Just get it working !

        filter Name : clear
        label : Effacer les filtres
        Empty text : Effacer
        Filter type : resetall


        You need to set at least on default values for the others elements ==> the resetall button set to default values filters

        The default values depend with the types :
        -- for textbox, default value as to be '_empty' or 'whateveryouwantstring'
        -- for combobox, default value as to be 'all' to clear all categories for exemple, or another value of your choice


        It deserve to be in the doc !