Skip to content

Commit ba29686

Browse files
committed
Allow numbers for Input value prop. Fixes react-toolbox#1180
1 parent 558040d commit ba29686

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/input/Input.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const factory = (FontIcon) => {
5353
}),
5454
type: PropTypes.string,
5555
value: PropTypes.oneOfType([
56+
PropTypes.number,
5657
PropTypes.object,
5758
PropTypes.string,
5859
]),

0 commit comments

Comments
 (0)