Skip to content

Commit 4e4dd92

Browse files
committed
reverse previous commit
1 parent a86c141 commit 4e4dd92

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react-select/src/Select.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,6 @@ export default class Select extends Component<Props, State> {
14221422
};
14231423

14241424
const { cx, theme, selectProps } = this.commonProps;
1425-
14261425
return (
14271426
<Input
14281427
autoCapitalize="none"
@@ -1442,7 +1441,7 @@ export default class Select extends Component<Props, State> {
14421441
tabIndex={tabIndex}
14431442
theme={theme}
14441443
type="text"
1445-
value={inputValue}
1444+
value={!inputValue ? '' : inputValue}
14461445
{...ariaAttributes}
14471446
/>
14481447
);

0 commit comments

Comments
 (0)