Skip to content

isItemDisabled prop for Cards component ? #2053

Answered by taheramr
naveen8801 asked this question in Q&A
Discussion options

You must be logged in to vote

You can find more about this property here: https://cloudscape.design/components/cards/?tabId=api#:~:text=Determines%20which%20items%20are%20disabled.%20If%20an%20item%20is%20disabled%2C%20users%20can%27t%20select%20it.

It basically runs against the items passed to the Cards component and based on what it returns it either disable the card with that specific item or not, its more like the array.filter function that receives a callback.

Let us know if this is helpful!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Al-Dani
Comment options

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