Hello guys,
I did this and it works great:
But, when initializing the form I keep one field (the filtered one) disabled until the "parent" is changed.
When the parent change, the child is being loaded and filtered. If none is loaded, it looks like this:
When some items fulfil the filtration:
I am trying somehow to catch the event when the filtered data are returned. the goal is to keep the "child" disabled, until it has some data returned.
Is it possible to do it?
I tried this approach, did not help because it is not changed.
fd.field("vChild").$on("change",(selectedChild) {
// WHATEBER IS HERE, when data is returned or none, nothing happens
})
// So I cannot probably check the field if it is changed or not when loading data - makes sense
Thank for advice
Stepan