Proposal - EntityListItem selection #2077
Labels
good first issue
Good for newcomers
proposal
ready for implementation
The proposal has been reviewed and approved by the maintainers
stale
Used to mark when there was no activity for a set period of time
Discussed in https://github.com/contentful/forma-36/discussions/1000
Originally posted by Spring3 August 6, 2020
Forma 36 contribution proposal
The problem
Currently EntityList can only render the EntityListItems. It would be a huge help if it could support selection, just like Cards component does.
The proposed solution
Support the
selected
orisSelected
property for the EntityListItem, that will, iftrue
, apply styles to the EntityListItem, highlighting it as a selected item.Please check the way Cards currently work and I think replicating the same behaviour for the EntityListItem, would be just perfect for this feature
Breaking changes
No breaking changes
The text was updated successfully, but these errors were encountered: