Skip to content

Commit

Permalink
close autoComplete in Cascader, close #3350
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 12, 2016
1 parent b5446d6 commit 4936bc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/cascader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export default class Cascader extends React.Component<CascaderProps, any> {
value={state.inputValue}
disabled={disabled}
readOnly={!showSearch}
autoComplete="off"
onClick={showSearch ? this.handleInputClick : null}
onBlur={showSearch ? this.handleInputBlur : null}
onChange={showSearch ? this.handleInputChange : null}
Expand Down

0 comments on commit 4936bc3

Please sign in to comment.