diff --git a/packages/react-bootstrap-table2-example/examples/cell-edit/custom-editor-table.js b/packages/react-bootstrap-table2-example/examples/cell-edit/custom-editor-table.js index a75a98a..8b548a5 100644 --- a/packages/react-bootstrap-table2-example/examples/cell-edit/custom-editor-table.js +++ b/packages/react-bootstrap-table2-example/examples/cell-edit/custom-editor-table.js @@ -18,6 +18,11 @@ class QualityRanger extends React.Component { static defaultProps = { value: 0 } + + componentDidMount() { + this.range.focus(); + } + getValue() { return parseInt(this.range.value, 10); }