dbc.Card callback for Collapse

Hey @Winepr,

If you create content dynamically you should use pattern matching callbacks or at least make sure, the components you create have individual IDs.

If you use your function make_card several times, the IDs, for example id="collapse-button", will be repeated, subsequent callbacks will fail.

Example: