Dropdownlist clicked in Photoshop is not working
Hello
In Photoshop 25.3.1 (2024)
When we have a DropdownList element and the user click on it, visually the element change.. but on the backend nothing is changing.
when we have a onChange callback connected, this is not triggered.
I did some tests on my end.
The DropdownList has a "selection" property, that stores the item that is displayed/drew in the UI.
When I change this property by code, then the callback is triggered.
// callback setup
dropdown_list_instance.onChange = function(){alert("Hello world");};
// triggering the callback
dropdown_list_instance.selection = 0;
but when we change the dropdownlist from the UI by clicking on any item, then the "selection" property is not change
Example dropdownlist with two elements: "A", "B"
1.- showing dropdown selection property ("A") (By default)
2.- changing the dropdown to "B" in the UI with a click.
3.- showing dropdown selection property, still getting "A"
I hope this helps to solve the bug.
Thanks
