Skip to content

Commit c1a2dba

Browse files
nicolazjjavivelasco
authored andcommitted
fixed browser button fires onChange event twice (react-toolbox#1557)
1 parent fc9c180 commit c1a2dba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/button/BrowseButton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const factory = (ripple, FontIcon) => {
112112
const props = {
113113
...others,
114114
ref: (node) => { this.labelNode = node; },
115+
onChange: null,
115116
className: classes,
116117
disabled: this.props.disabled,
117118
onMouseUp: this.handleMouseUp,

0 commit comments

Comments
 (0)