Skip to content

fix(FormSelect): updated order of onChange params#8998

Merged
tlabaj merged 1 commit intopatternfly:v5from
thatblindgeye:iss8885_formSelectParams
Apr 27, 2023
Merged

fix(FormSelect): updated order of onChange params#8998
tlabaj merged 1 commit intopatternfly:v5from
thatblindgeye:iss8885_formSelectParams

Conversation

@thatblindgeye
Copy link
Contributor

What: Closes #8885

Additional issues:

@patternfly-build
Copy link
Collaborator

patternfly-build commented Apr 25, 2023

@tlabaj tlabaj merged commit 9a25bea into patternfly:v5 Apr 27, 2023
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-alpha.83
  • @patternfly/react-core@5.0.0-alpha.82
  • @patternfly/react-docs@6.0.0-alpha.89
  • demo-app-ts@5.0.0-alpha.66
  • @patternfly/react-table@5.0.0-alpha.84

Thanks for your contribution! 🎉

dgdavid added a commit to agama-project/agama that referenced this pull request Sep 12, 2023
Patternfly 5 has swapped the #onChange params of quite a lot components
for putting the event first. This is more aligned with the native HTML
change event, https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event.

This PR, based on changes proposed by https://github.com/patternfly/pf-codemods,
update Agama components using below PF elements

  * FormSelect
    -  patternfly/patternfly-react#8998
  * Switch
    -  patternfly/patternfly-react#9037
  * TextInput
    - patternfly/patternfly-react#9064
    - patternfly/patternfly-react#9196
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 12, 2023
Patternfly 5 has swapped the #onChange params of quite a lot components
for putting the event first. This is more aligned with the native HTML
change event, https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event.

This PR, based on changes proposed by https://github.com/patternfly/pf-codemods,
update Agama components using below PF elements

  * FormSelect
    -  patternfly/patternfly-react#8998
  * Switch
    -  patternfly/patternfly-react#9037
  * TextInput
    - patternfly/patternfly-react#9064
    - patternfly/patternfly-react#9196
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 14, 2023
Patternfly 5 has swapped the #onChange params of quite a lot components
for putting the event first. This is more aligned with the native HTML
change event, https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event.

This PR, based on changes proposed by https://github.com/patternfly/pf-codemods,
update Agama components using below PF elements

  * FormSelect
    -  patternfly/patternfly-react#8998
  * Switch
    -  patternfly/patternfly-react#9037
  * TextInput
    - patternfly/patternfly-react#9064
    - patternfly/patternfly-react#9196
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.

FormSelect: change param order for onChange so event is first.

4 participants