File tree 4 files changed +5
-5
lines changed 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,8 @@ import {connectToContainer} from 'lib';
7
7
8
8
export class UnconnectedAxisRangeValue extends Component {
9
9
render ( ) {
10
- return ! this . props . multiValued &&
11
- this . props . fullContainer &&
12
- this . props . fullContainer . type === 'date' ? (
10
+ return this . props . multiValued ||
11
+ ( this . props . fullContainer && this . props . fullContainer . type === 'date' ) ? (
13
12
< UnconnectedText { ...this . props } />
14
13
) : (
15
14
< UnconnectedNumeric { ...this . props } />
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export class UnconnectedNumeric extends Component {
22
22
step = { this . props . step }
23
23
min = { this . props . min }
24
24
max = { this . props . max }
25
+ onChange = { this . props . updatePlot }
25
26
onUpdate = { this . props . updatePlot }
26
27
showArrows = { ! this . props . hideArrows }
27
28
showSlider = { this . props . showSlider }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class UnconnectedText extends Component {
27
27
}
28
28
29
29
UnconnectedText . propTypes = {
30
- defaultValue : PropTypes . string ,
30
+ defaultValue : PropTypes . any ,
31
31
fullValue : PropTypes . any ,
32
32
multiValued : PropTypes . bool ,
33
33
updatePlot : PropTypes . func ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default class TextInput extends Component {
30
30
}
31
31
32
32
TextInput . propTypes = {
33
- defaultValue : PropTypes . string ,
33
+ defaultValue : PropTypes . any ,
34
34
editableClassName : PropTypes . string ,
35
35
onUpdate : PropTypes . func . isRequired ,
36
36
placeholder : PropTypes . string ,
You can’t perform that action at this time.
0 commit comments