Component in jsonforms

Hello, is it possible to send input parameters to the customer render component in Angular? If I have a custom component for input we need to send other information to the element how can we send it?

Hi @daniela,

When you implement a custom renderer then you have full control over the rendering. As it’s your component you can inject arbitrary information from outside JSON Forms too.

Can you show me an example of how can i send Input parameters to a custom render component?

You can use regular Angular injections, see here for the docs.

Maybe my question was not clear sorry for that. I wanted to ask if I can send the input parameters for example

[name]="name"

Send information like name or other information and receive that information in the customer component like @Input(). If that is supported and if it is how can I send that kind of information to the customer component?

You can’t easily add additional @Input as the dispatcher only hands over a handful, see here.

What is your use case to send additional information and why does regular injection not work for you? Normally all your information should come from the already available data, schema and uischema.

Thank you for the answer. Yes, this is okay (here). But I wanted to know if there is an option to send some information that way. Thank you once again for the answer.