Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Missing code examples for Bulk Select #1204

Open
asankov opened this issue May 30, 2020 · 4 comments
Open

Missing code examples for Bulk Select #1204

asankov opened this issue May 30, 2020 · 4 comments

Comments

@asankov
Copy link

asankov commented May 30, 2020

I am trying to implement a container view with many elements and need a selector that selects/deselects all of them.

I see that there is such in Patternfly - https://www.patternfly.org/v3/pattern-library/forms-and-controls/bulk-selector/index.html#design

However, there are no code examples attached to the page, so I have no idea how to start using this, except starting from scratch (which defeats the purpose of using library like Patternfly)

@LHinson
Copy link
Member

LHinson commented Jun 2, 2020

@asankov For our older version of PF and the website, we used to post designs prior to having any code. I understand this is confusing and frustrating and the reason why we changed this approach with our newest version, see https://www.patternfly.org/v4/

All design for PF4 have code when they are posted to the site. Do you have the opportunity to upgrade to latest? There has been a lot of improvements since PF3 and you would benefit from being on the version where we are adding features and functionality (vs just in bug fix mode).

@asankov
Copy link
Author

asankov commented Jun 2, 2020

thank you for the answer, @LHinson

migrating to Patternfly 4 is a blocker for us ATM, because we have ongoing work in refactoring some pages. This works includes adding a bulk selector like the one in question to a few of the pages. If you don't have any code examples, then I guess we would have to implement them from scratch or try to adapt some of the Patternfly 4 examples for our purpose.

@LHinson
Copy link
Member

LHinson commented Jun 4, 2020

@asankov Which implementation of PF3 are you using? e.g. core (html/css/jquery) or one of the JS. frameworks - angular, ng or react? There might be some components that can help you get there without building everything from scratch, even though we don't have the full example in PF3.

@asankov
Copy link
Author

asankov commented Jun 5, 2020

we are using the core (html/css/jquery) version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants