Skip to content

Commit

Permalink
fix(antd/next): fix checkbox and radio can not trigger user onChange (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang authored Nov 30, 2022
1 parent 8fda43d commit e6454be
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/antd/src/checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const Checkbox: ComposedCheckbox = connect(
AntdCheckbox,
mapProps({
value: 'checked',
onInput: 'onChange',
})
)

Expand Down
1 change: 0 additions & 1 deletion packages/antd/src/radio/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const Radio: ComposedRadio = connect(
AntdRadio,
mapProps({
value: 'checked',
onInput: 'onChange',
})
)

Expand Down
1 change: 0 additions & 1 deletion packages/next/src/checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const Checkbox: ComposedCheckbox = connect(
mapProps(
{
value: 'checked',
onInput: 'onChange',
},
mapSize
)
Expand Down

0 comments on commit e6454be

Please sign in to comment.