npm mui-one-time-password-input 1.2.5
v1.2.5

latest releases: 7.0.0, 6.0.0, 5.0.0...
2 years ago

Fix

  • #16 onBlur should not be triggered for each Box, but only once, when no new field is focused

New prop

onBlur

  • Type: ((value: string, isCompleted: boolean) => void) | undefined
  • Default: undefined

Unlike the normal type of a TextField['onBlur'] prop, here it only triggers when no input of the component is focused.

<MuiOtpInput onBlur={() => console.log('no input of the component is focused')} />

Don't miss a new mui-one-time-password-input release

NewReleases is sending notifications on new releases.