surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.21k stars 814 forks source link

A custom Checkbox Item's event is invoked only for precreated Matrix rows #7717

Closed JaneSjs closed 9 months ago

JaneSjs commented 10 months ago

User issue and Demo: T16454 - Custom item component is not rendering for Dynamic Matrix https://surveyjs.answerdesk.io/internal/ticket/details/T16454

To reproduce the issue, run the customer's demo. Change the checked state of the cities column. The CustomCheckboxItemTemplateComponent.onChanged event will be invoked and the following console messages appear. However, if you add more rows and check their cities values, the onChanged event won't be invoked and no messages appear.

image

andrewtelnov commented 10 months ago

@JaneSjs
I have checked this functionality for React and Angular and it works for me. Here are examples: React and Angular.

Thank you, Andrew