Skip to content

Commit 43a9044

Browse files
committed
fix to prase string
1 parent 7f2298e commit 43a9044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TimeWidget/editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class TimeWidgetEditor extends Component<Props, TimeWidgetProps> {
4040
fullWidth
4141
variant="outlined"
4242
onChange={(e) => {
43-
this.setState({ ...this.state, size: e.target.value });
43+
this.setState({ ...this.state, size: parseFloat(e.target.value) });
4444
}}
4545
value={this.state.size}
4646
/>

0 commit comments

Comments
 (0)