Answer the question
In order to leave comments, you need to log in
How to pass an element ID to a component?
As part of the training, I am writing my own component, its purpose is to display a list of other elements on the page of the detailed view of the element, for which the element being viewed is the value of the property.
Those. I view the detailed page of the country N, it is necessary to display a list of tours, in which the name of the country N is indicated in the "Country" property (binding by element).
The option to get the ID from the URL via GET is not suitable.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question