From 9acb3c499e2376c8981c6667a630b01484ba9b58 Mon Sep 17 00:00:00 2001 From: Gucheng Wang Date: Sat, 25 Feb 2023 14:57:23 +0800 Subject: [PATCH] Can search country code --- web/src/common/PhoneNumberInput.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/common/PhoneNumberInput.js b/web/src/common/PhoneNumberInput.js index b94bf3fa..254600da 100644 --- a/web/src/common/PhoneNumberInput.js +++ b/web/src/common/PhoneNumberInput.js @@ -19,7 +19,7 @@ import React from "react"; const {Option} = Select; export default function PhoneNumberInput(props) { - const {onChange, style, disabled, showSearch} = props; + const {onChange, style, disabled} = props; const value = props.value ?? "CN"; const countryCodes = props.countryCodes ?? []; @@ -30,20 +30,20 @@ export default function PhoneNumberInput(props) { return (