Fix phone input clearing its value when hitting space (#13031)

This PR fixes a bug with phone input clearing its value when we press
space right after a country calling code.

As the problem comes from the library `react-phone-input-number` this PR
implements a yarn patch.

Fixes https://github.com/twentyhq/twenty/issues/12903
This commit is contained in:
Lucas Bordeau
2025-07-04 16:13:16 +02:00
committed by GitHub
parent 7a2b6bd4d6
commit 8a5a9554d9
3 changed files with 64 additions and 3 deletions

View File

@ -168,7 +168,7 @@
"react-imask": "^7.6.0",
"react-intersection-observer": "^9.15.1",
"react-loading-skeleton": "^3.3.1",
"react-phone-number-input": "^3.3.4",
"react-phone-number-input": "patch:react-phone-number-input@npm%3A3.4.5#~/.yarn/patches/react-phone-number-input-npm-3.4.5-dc2895c306.patch",
"react-responsive": "^9.0.2",
"react-router-dom": "^6.4.4",
"react-textarea-autosize": "^8.4.1",