fix(phone/dialer): only allow numbers in input

This commit is contained in:
Christopher committed 2021-03-27 00:12:40 +01:00
1 parent 632e27e0fa
commit d95cd8d4bc
1 file changed
+1
@@ -50,6 +50,7 @@ export const DialerInput = () => {
className={classes.input}
value={inputVal}
onChange={(e) => set(e.target.value)}
type="number"
/>
<IconButton color="primary" className={classes.iconBtn} disabled={inputVal <= ''}>
<PhoneIcon fontSize="large" onClick={() => handleCall(inputVal)} />