I'm trying to implement a custom prompt feature. I've added a FormItemIcon to the field I want to prompt. When the icon is clicked I open a window where the user can select a value for the FormItem (a TextItem in this case). Once they make a selection I use FormItem.setValue() to put the selected value in the FormItem.
But there is a ChangedHandler on the FormItem and it is not triggered by setValue(). It needs to be triggered in this case, just as if the user entered the selected value manually. How can I trigger the ChangedEvent on the FormItem?
But there is a ChangedHandler on the FormItem and it is not triggered by setValue(). It needs to be triggered in this case, just as if the user entered the selected value manually. How can I trigger the ChangedEvent on the FormItem?
Comment