-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Full select editor (with data providers and multiselect support) #764
Conversation
skurfuerst
commented
Jul 8, 2017
•
edited
Loading
edited
- Implement Data Sources for Select Editor
- Implement Data Sources for MultiSelect Editor
- implement search field for Select Editor without data source
- implement search field for Select Editor with data source
- implement search field for MultiSelect Editor without data source
- implement search field for MultiSelect Editor with data source
- add tests
- implement allowEmpty in SelectEditor
- implement allowEmpty in MultiSelectEditor
- add ticket for implementing Group Support in SelectBox/MultiSelectBox
8937f91
to
de129ba
Compare
What is this PR? |
4267395
to
fcad11d
Compare
This PR is my WIP attempt of implementing DataProviders etc. Will continue on this now :) |
94c5988
to
4793cbd
Compare
In Select Editor, we now support Data Providers and local values. Both cases work with single- and multiselect. Besides, the rendering of the above 8 cases is tested using jest.
…<I18n> helper This is needed to ensure consistent programmatic access on localized labels (e.g. in select editors, where we want to filter based on the translated string)
If allowEmpty is FALSE, we prevent removing the "last" element from the list. For Single Select boxes, if displaySearchBox=true, we force allowEmpty to be TRUE, as otherwise the search box would never be reachable after an element was selected. To migrate existing usages of Multi and Single select boxes, nothing needs to be changed.
135d428
to
dbc061c
Compare
Group support: #764 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had an eye of your work on this for a while, looked through it again. I propose to merge it now, and just follow up if we spot some bugs.
Looks pretty solid, exactly how I would have done it!
Thanks Dmitri <3 👍 |