Skip to content

Configurable dashboard with multiple instances of a single palette item? #2104

Answered by connorlanigan
RyanFrench asked this question in Q&A
Discussion options

You must be logged in to vote

This issue very likely happens because the duplicate widgets on your board share the same ID. This is not supported:

id (string) - the unique item identifier. The IDs of any two items in a page must be different.

- https://cloudscape.design/components/board/?tabId=api

If you want to add another widget to the board, it needs to have a different ID. One possible option is to generate a new ID for each addedItem in the Board component's onItemsChange handler.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RyanFrench
Comment options

Answer selected by RyanFrench
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants