Skip to content

Comments

EuiComboBox type fixes#2971

Merged
chandlerprall merged 2 commits intoelastic:masterfrom
chandlerprall:bug/combobox-oncreateoption-return
Mar 3, 2020
Merged

EuiComboBox type fixes#2971
chandlerprall merged 2 commits intoelastic:masterfrom
chandlerprall:bug/combobox-oncreateoption-return

Conversation

@chandlerprall
Copy link
Contributor

@chandlerprall chandlerprall commented Mar 3, 2020

Summary

Another bugfix for v20.0 types. The first was a regression in combo_box_options_list.tsx's onCreateOption, which primarily returns void. The second is an interaction between TypeScript's management of class components' defaultProps and our pattern of exporting a component's props - the prop interface is not the end result.

I have verified that Kibana builds and passes type checks & jest tests, with these changes.

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile
- [ ] Checked in IE11 and Firefox
- [ ] Props have proper autodocs
- [ ] Added documentation examples
- [ ] Added or updated jest tests

  • Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@chandlerprall chandlerprall requested a review from thompsongl March 3, 2020 14:20
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_2971/

Copy link
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @chandlerprall

@chandlerprall chandlerprall merged commit 632eb8c into elastic:master Mar 3, 2020
@chandlerprall chandlerprall deleted the bug/combobox-oncreateoption-return branch March 3, 2020 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants