I have a work order form which has custom related entity.
when I click on the custom entity I go to the specific form. How can I get parentForm context within this new form via javascript?
I want to be able to see the formType, so if work order is set to readOnly I was to see that value when im on my custom entity form, so I can do some logic.
Thanks in advance