Detail with fields use logic on the changes

Hello Community!


I have a detail made with this


By any chance someone knows how to use dependency o onchange method on the fields. The idea is to do a logic when the field change.




Like 0



Hi Federico,


you must add an attribute in JS code of the detail page, specify which columns change that attribute would be listening to, and a method which would trigger when its changed:


"City": {  
  "dependencies": [
      columns: ["City"],
      methodName: "onCityChanged"


Hello Federico,


Hope you're doing well.


If I understood your request correctly, the next articles would help you to perform the required business task:

Best regards,


Thanks formar the answer. 

I'd tried with attributes and dependeces but looks like is not working on the BaseFieldsDetailV2, like this is a special detail may be there is another way to handle the change event. 


Show all comments