From 435ce0b2f42f6ae4b8ae2a573f226fede6c7edbd Mon Sep 17 00:00:00 2001 From: Hayata Suenaga Date: Tue, 7 Feb 2023 11:09:49 -0800 Subject: [PATCH] change maxInputLength default value to undefined from -1 --- src/components/AddressSearch.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/AddressSearch.js b/src/components/AddressSearch.js index 32c06eccdcb0..0c5c6179a2f2 100644 --- a/src/components/AddressSearch.js +++ b/src/components/AddressSearch.js @@ -83,9 +83,7 @@ const defaultProps = { state: 'addressState', zipCode: 'addressZipCode', }, - - // A maximum of -1 means the user can enter as many characters as they want - maxInputLength: -1, + maxInputLength: undefined, }; // Do not convert to class component! It's been tried before and presents more challenges than it's worth.