Skip to content

Commit

Permalink
Revert new default value of isClearable prop (#484)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TyMick authored May 13, 2021
1 parent 387a616 commit 05a07db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/text-input/select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export function useCommonSelectProps(props, ref) {
inputValue,
defaultInputValue,
onInputChange,
isClearable = true,
isClearable,
isMulti,
...otherProps
} = props;
Expand Down

0 comments on commit 05a07db

Please sign in to comment.