mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 06:28:51 +00:00
fix(phone/dialer): only allow numbers in input
This commit is contained in:
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)} />
|
||||
|
||||
Reference in new issue
Block a user