windmill icon indicating copy to clipboard operation
windmill copied to clipboard

bug: clearing a value from a select input-field in app builder does not trigger bg-script that is watching the select input-field

Open Knobli95 opened this issue 1 year ago • 1 comments

Describe the bug

I have a frontend script that is watching a.result (select input-field) this script triggers when an entry is selected within the select input-field. But it does not trigger when a selected entry is cleared from the select input-field (via x button).

To reproduce

1 create a select input-field in the app builder (componentId = a) 2. create a background runnable js-frontend script (bg_0) 3. select component a as a values watched dependency in the bg_0 script 4. open browser console 5. select a value in component a select input-field 6. see that bg_0 triggered in the browser console 7. clear the selected value from a select input-field via x 8. see that bg_0 does not trigger in the browser console

Expected behavior

scripts that have a dependency value watched, should also trigger when a value is cleared from the dependency input-field.

Screenshots

No response

Browser information

google chrome

Application version

Version 133.0.6943.99 (Official Build) (64-bit)

Additional Context

This behaviour might not only be encountered with select input-fields but also with other input-fields in the app builder.

Knobli95 avatar Feb 21 '25 10:02 Knobli95

Fixed on very latest

rubenfiszel avatar Feb 21 '25 16:02 rubenfiszel