<![CDATA[ DB-Filters resetall button - MODX Community Forums]]> https://forums.modx.com/thread/?thread=101005 <![CDATA[DB-Filters resetall button]]> https://forums.modx.com/thread/101005/db-filters-resetall-button#dis-post-545354
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.]]>
Steeve Sep 29, 2016, 01:41 PM https://forums.modx.com/thread/101005/db-filters-resetall-button#dis-post-545354
<![CDATA[Re: DB-Filters resetall button]]> https://forums.modx.com/thread/101005/db-filters-resetall-button#dis-post-553689
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 !
]]>
squarou Sep 06, 2017, 02:59 PM https://forums.modx.com/thread/101005/db-filters-resetall-button#dis-post-553689
<![CDATA[Re: DB-Filters resetall button]]> https://forums.modx.com/thread/101005/db-filters-resetall-button#dis-post-545441 Steeve Oct 03, 2016, 01:39 PM https://forums.modx.com/thread/101005/db-filters-resetall-button#dis-post-545441