Skip to content

Conversation

@BSd3v
Copy link
Contributor

@BSd3v BSd3v commented Apr 24, 2025

fixes #3288

}
if (Array.isArray(target)) {
return includes(l.property, target);
return includes(l.property.split('@')[0], target);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think it might be better to set that in the reducer or the action.

There is a // duplicate outputs comment that I think may have been a todo here:

To change on the callback would be here:

property: out.property,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was curious about that, didnt want to mess around with the hash in the callback. Wasnt sure about side-effects of that change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes the debug=True in the loading much nicer, since it strips the hash.

Copy link
Contributor

@T4rk1n T4rk1n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@T4rk1n T4rk1n merged commit 23528a1 into plotly:dev Apr 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Allow dcc.Loading's target_components to work with allow_duplicate=True Outputs

2 participants