How do I check if a relationship panel is populated for an entity from JS to have some front end validations.
I have an entity A with a relationship of 1:M with another entity B. And I have the relationship panel which shows the B entities that are linked to A under the detail view of entity A. I need a way to check if there are any B entities linked to A, so that I can enable/disable a certain button.
How do I go about this using Javascript?
Thank you! Cheers!
@telecastg
I have an entity A with a relationship of 1:M with another entity B. And I have the relationship panel which shows the B entities that are linked to A under the detail view of entity A. I need a way to check if there are any B entities linked to A, so that I can enable/disable a certain button.
How do I go about this using Javascript?
Thank you! Cheers!
@telecastg
Comment