Skip to content

Commit

Permalink
fix(autocomplete): Disable chevron when autocomplete is disabled (#935)
Browse files Browse the repository at this point in the history
Co-authored-by: Kristoffer <denkristoffer@users.noreply.github.com>
  • Loading branch information
damienxy and denkristoffer committed Apr 22, 2021
1 parent a9c373e commit 3ca71d2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export const Autocomplete = <T extends {}>({
<IconButton
className={styles.inputIconButton}
tabIndex={-1}
disabled={toggleProps.disabled}
buttonType="muted"
iconProps={{ icon: toggleProps.query ? 'Close' : 'ChevronDown' }}
onClick={toggleProps.onToggle}
Expand Down

0 comments on commit 3ca71d2

Please sign in to comment.