Skip to content

Commit

Permalink
fix(NumberPicker): disable hasClear fix #1421
Browse files Browse the repository at this point in the history
  • Loading branch information
bindoon committed Dec 10, 2019
1 parent f817d8a commit 356c53d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/number-picker/number-picker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ class NumberPicker extends React.Component {
>
<Input
{...others}
hasClear={false}
aria-valuemax={max !== Infinity ? max : undefined}
aria-valuemin={min !== -Infinity ? min : undefined}
state={state === 'error' ? 'error' : null}
Expand Down

0 comments on commit 356c53d

Please sign in to comment.