Skip to content

Commit

Permalink
Fix #2214: InputText onPaste passthrough (#2756)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Apr 15, 2022
1 parent 2d4fbaf commit 13e9b70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/lib/inputtext/InputText.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export const InputText = React.memo(React.forwardRef((props, ref) => {
}

const onPaste = (event) => {
props.onPaste && props.onPaste(event);

if (props.keyfilter) {
KeyFilter.onPaste(event, props.keyfilter, props.validateOnly)
}
Expand Down

0 comments on commit 13e9b70

Please sign in to comment.