We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
type="button"
1 parent 0f897da commit a3d18bbCopy full SHA for a3d18bb
CHANGELOG.md
@@ -1,5 +1,11 @@
1
# CHANGELOG
2
3
+## v0.5.2 (TBD)
4
+
5
+### Bug Fixes
6
7
+* [#31]: Fix issue where expand buttons would submit a parent form
8
9
## [v0.5.1](https://github.com/jakezatecky/react-checkbox-tree/compare/v0.5.0...v0.5.1) (2017-03-21)
10
11
### New Features
src/js/TreeNode.js
@@ -82,7 +82,13 @@ class TreeNode extends React.Component {
82
}
83
84
return (
85
- <button aria-label="Toggle" className="rct-collapse rct-collapse-btn" title="Toggle" onClick={this.onExpand}>
+ <button
86
+ aria-label="Toggle"
87
+ className="rct-collapse rct-collapse-btn"
88
+ title="Toggle"
89
+ type="button"
90
+ onClick={this.onExpand}
91
+ >
92
{this.renderCollapseIcon()}
93
</button>
94
);
0 commit comments