On Event Change doesn't trigger after unselect

Hey,

I am using standard select element. (not the advanced one)

And the “On change” event is not triggered when I unselect an option.

In my case, I am not able to detect when user changes the value in select to empty.
Is this a feature or bug?

Hi,

Tested it on my side. The same behavior, no change trigger on uncheck event.

I think as a workaround you can try to create an “on click” workflow and check the select variable (null or specific option) every time with “if/then” action

Actually I can’t.
Because on click detects only if I click to Select Input, not one of the options

Oh, okay, I think its not doable with standard one then.

But its achievable with advanced one:

2025-05-2811-54-30

  1. The workflow in the advanced element itself:

  1. The workflow in the Option text item:

1 Like

Hi Jura :waving_hand:

Did Batik’s answer solve your issue?

No, this would actually require quite a refactor on our app as we use the component on bunch of different places.

@Agustin_Carozo I guess I should open the support ticket?

1 Like

Plase do, and let us know how you ended up solving it :wink:

@Agustin_Carozo This seems like it should be a relatively easy fix on the WeWeb side, and should be the ideal solution, as I believe the functionality essentially exists already in the multiselect (non-advanced) version.

If you switch from single select to multi select, each selected options has an X next to it to remove it. When you click that X, the onChange event is triggered. It seems like this should be the same exact functionality as when you unselect an option in the the single select.

2 Likes

Hello, we are aware of this issue and a fix will come soon. :slight_smile:

Thanks for the patience everybody.

3 Likes