How to trigger event in string text field.
Example: I want to open document lookup when there is changes in the value of text field
Like
Dear Fulgen,
See this example to find out how to create a method that watch for changes in some fields. In simple words, you will need creating an attribute, that will have dependencies on needed columns and fires a method. You can see many examples in the configuration like this one:
attributes: {
"Status": {
"lookupListConfig": {
"orders": [{columnPath: "Position"}]
},
"dependencies": [
{
"columns": ["Status"],
"methodName": "onOrderStatusChanged"
}
]
},
...
where:
"columns": ["Status"] - list of columns where you watch for changes
"methodName": "onOrderStatusChanged" - method that fires when "Status" column is changed