Skip to content

Conversation

@dlabaj
Copy link
Contributor

@dlabaj dlabaj commented Jul 30, 2019

This enhancement allows a user to now pass in a user defined object to store additional data besides just the string value to a select option. The object must have a toString function that is
responsible for returning the the localized string.

fix #2045

What:

Additional issues:

@patternfly-build
Copy link
Collaborator

PatternFly-React preview: https://patternfly-react-pr-2612.surge.sh

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

Can you please add a demo for this and some test.

@kmcfaul
Copy link
Contributor

kmcfaul commented Jul 30, 2019

Echoing adding the tests, otherwise looks great

dlabaj added 3 commits August 6, 2019 10:55
…s a value.

This enhancement allows a user to now pass in a user defined object to store additional data besides
just the string value to a select option.  The object must have a toString function that is
responsible for returning the the localized string.

fix #2045
kmcfaul
kmcfaul previously approved these changes Aug 6, 2019
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

@tlabaj tlabaj merged commit 9037033 into patternfly:master Aug 8, 2019
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • @patternfly/react-core@3.83.0
  • @patternfly/react-docs@4.9.25
  • @patternfly/react-inline-edit-extension@2.9.70
  • demo-app-ts@2.16.0
  • @patternfly/react-integration@2.16.0
  • @patternfly/react-table@2.16.9
  • @patternfly/react-topology@2.7.18
  • @patternfly/react-virtualized-extension@1.1.104

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pf4 Select and Multi select component API

4 participants