Skip to content
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

feat(form)!: use native events for primitive components #1201

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

JLou
Copy link
Contributor

@JLou JLou commented Sep 9, 2024

Removed the HoC withinput on all primitive input components:

  • Checkbox
  • Date
  • Number
  • Pass
  • Radio
  • Select
  • Text
  • TextArea

BREAKING CHANGE: these components now use React.SyntheticEvent in onchange prop parameter

Related issue

Reference to the issue

Here you can add link to related issue

Description of the issue

Your description

Person(s) for reviewing proposed changes

You can add @mention here

Important

Before creating a pull request run unit tests

$ npm test

# watch for changes
$ npm test -- --watch

# For a specific file (e.g., in packages/context/__tests__/command.test.js)
$ npm test -- --watch packages/action

@JLou JLou force-pushed the release/v3 branch 3 times, most recently from ba3b857 to 74b6b3b Compare September 10, 2024 07:43
Removed the HoC withinput on all primitive input components:
- Checkbox
- Date
- Number
- Pass
- Radio
- Select
- Text
- TextArea

BREAKING CHANGE: these components now use `React.SyntheticEvent` in onchange prop parameter
@MartinWeb MartinWeb merged commit d222a25 into AxaFrance:master Sep 13, 2024
3 checks passed
@MartinWeb MartinWeb added this to the V3.0.0 milestone Sep 16, 2024
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.

2 participants