I was able to successfully add a custom property to the properties panel.
When I use the native form and type values into the input field, it triggers the setValue method on the .
However, if I set the value of the input using jQuery or JavaScript by attaching a click event to it, e.g.
$("body").on("click", "[name='expression']", async function (event) {
event.target.value = "TESTING";
})
The value of the input does change, I can see it on the screen, but the setValue method is not triggered.
Even if I manually fire the change event on the input, it still doesn’t trigger.
Is there some other way I can programmatically trigger that setValue method, or attach other event handlers to it?