contentful / forma-36

A design system by Contentful

Home Page:https://f36.contentful.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proposal - EntityListItem selection

burakukula opened this issue · comments

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 or isSelected property for the EntityListItem, that will, if true, 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

Hi @burakukula , I would love to contribute, I already created a PR for this proposal (#2097), I hope it's ok

Marking issue as stale since there was no acitivty for 30 days