I can not understand how I make know Pickerfield set value from user or from datasource changed?
If I use addValueChangeListener then it works in both cases, there are suspicions that you need to track “target”
Hi,
the userOriginated
attribute will be introduced in Platform 7.0.
See related issues:
- Add to UI component events the userOriginated attribute · Issue #1162 · cuba-platform/cuba · GitHub
- ValueChangeEvent userOriginated for PickerField actions · Issue #1334 · cuba-platform/cuba · GitHub
Regards,
Gleb
1 Like
I use version 6.9.1 and for my project it is quite problematic to switch to a newer version, can I somehow implement it myself? Thank u!
You can extend PickerFIeld and its actions to add required logic. Also, I suggest adding another value change listener for PickerField in order not to affect other components with userOrginated
attribute.