Skip to content

Commit

Permalink
fix: disable text field number wheel input
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed Oct 12, 2023
1 parent 0563ff4 commit 43207d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/rjsf/themes/BaseInputTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ export default function BaseInputTemplate<
onChange={onChangeOverride || _onChange}
onBlur={_onBlur}
onFocus={_onFocus}
onWheel={e => {
e.preventDefault()
}}
InputProps={{
startAdornment: (
<InputAdornment position="start">
Expand Down

0 comments on commit 43207d1

Please sign in to comment.