From 979cfb2565aa5dc5f6615495183521b77ea05390 Mon Sep 17 00:00:00 2001 From: Ty Mick Date: Thu, 13 May 2021 15:35:47 -0700 Subject: [PATCH] Revert new default value of isClearable prop Suddenly defaulting isClearable to true broke several Selects in ChMS (and likely elsewhere) since they'd written onChange handlers had never needed to expect null values before. --- components/text-input/select.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/text-input/select.jsx b/components/text-input/select.jsx index 00c884594..92117ac6b 100644 --- a/components/text-input/select.jsx +++ b/components/text-input/select.jsx @@ -290,7 +290,7 @@ export function useCommonSelectProps(props, ref) { inputValue, defaultInputValue, onInputChange, - isClearable = true, + isClearable, isMulti, ...otherProps } = props;