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')} />