7 years ago
Topic

Hi,

I have added the field "article state" to my search form and set the Variation to "Formular - Filter". The filter ist working correctly but it don't shows the option "Any Status" in the Dropdown-Field to reset the filter. All other options are existing.

When I have a look at the Article Manager the option is shown:

I compared the settings but didn't find the trick.

Any idea?

Papi

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
1
Level 1

You could make a fake - All - option with some fake value, then use conditional isEmpty to set value to empty when this fake value is selected.

7 years ago
0
Level 2

Thank you for answering.

I tried it, but without luck.

I added a Option "Show All=22" to the field art_created.

Under Conditional States I have configured this:

The Result is that all articles are shown, independant what option (Show All, Published, Unpublished, ...) I am choosing in the Dropdown Menu. Filterin doesn't work anymore. The Dropdown field itselfs remains always blank:

Where is my mistake?

Is there another solution? I want to have a similar possibilty to filter categories (is working) and add a "Show all" Option. But I can't add options to the field
Article Category Id.

4229 Posts
Kadministrator
7 years ago
3
Level 1

I just tested - to do what I was thinking about we would need to use "is Filled" with empty value. But - you just need to fill in "Select Label" and it will automatically add this "reset" option.

7 years ago
2
Level 2

I found a really simple solution: Just enter a value for Select Label in the field parameters:

Perhaps you can add an information for "Select Label" in the documentation: https://www.seblod.com/resources/extensions/archives/seblod-2-x-select-simple-field

It would be fine, if this option will be present for the Radio Button Field too.

Thanks for helping!

Papillon

4229 Posts
Kadministrator
7 years ago
1
Level 3

Yes, select label is the right thing, see my previous answer :)

7 years ago
0
Level 4

I misunderstood your answer and first filled the Text "Select Label" in the "This field is Empty" Conditional State ;-)

Get a Book for SEBLOD