Skip to content

Commit e518233

Browse files
rvsiaHyperkid123
authored andcommitted
fix(common): make props to control deselection of values
1 parent 41b5bf3 commit e518233

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/common/src/select/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const Select = ({
3535
onChange,
3636
loadOptionsChangeCounter,
3737
SelectComponent,
38+
noValueUpdates,
3839
...props
3940
}) => {
4041
const [state, dispatch] = useReducer(reducer, {
@@ -175,7 +176,8 @@ Select.propTypes = {
175176
updatingMessage: PropTypes.node,
176177
noOptionsMessage: PropTypes.node,
177178
isSearchable: PropTypes.bool,
178-
SelectComponent: PropTypes.elementType.isRequired
179+
SelectComponent: PropTypes.elementType.isRequired,
180+
noValueUpdates: PropTypes.bool
179181
};
180182

181183
Select.defaultProps = {

0 commit comments

Comments
 (0)