Skip to content

feat(TextInput): swapped onChange params#9064

Merged
nicolethoen merged 2 commits intopatternfly:v5from
wise-king-sullyman:textInput-onChange-swap-params
May 9, 2023
Merged

feat(TextInput): swapped onChange params#9064
nicolethoen merged 2 commits intopatternfly:v5from
wise-king-sullyman:textInput-onChange-swap-params

Conversation

@wise-king-sullyman
Copy link
Collaborator

What: Closes #9062

Additional issues:

@patternfly-build
Copy link
Collaborator

patternfly-build commented May 4, 2023

Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

I even did my own pass through the code do double check I couldn't fine any more instances of TextInput with an onChange handler. Didn't find anything else.

@nicolethoen nicolethoen merged commit 8735c8d into patternfly:v5 May 9, 2023
@patternfly-build
Copy link
Collaborator

Your changes have been released in:

  • @patternfly/react-code-editor@5.0.0-alpha.95
  • @patternfly/react-core@5.0.0-alpha.94
  • @patternfly/react-docs@6.0.0-alpha.102
  • demo-app-ts@5.0.0-alpha.78
  • @patternfly/react-integration@5.0.0-alpha.40
  • @patternfly/react-table@5.0.0-alpha.96

Thanks for your contribution! 🎉

@wise-king-sullyman wise-king-sullyman deleted the textInput-onChange-swap-params branch May 9, 2023 19:13
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 11, 2023
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 11, 2023
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 12, 2023
dgdavid added a commit to agama-project/agama that referenced this pull request Sep 12, 2023
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.

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

4 participants