Browse Source

Fix searchInput undefined in demo

pull/8413/merge
afc163 7 years ago
parent
commit
59cb320a7b
  1. 2
      components/table/demo/custom-filter-panel.md

2
components/table/demo/custom-filter-panel.md

@ -94,7 +94,7 @@ class App extends React.Component {
onFilterDropdownVisibleChange: (visible) => {
this.setState({
filterDropdownVisible: visible,
}, () => this.searchInput.focus());
}, () => this.searchInput && this.searchInput.focus());
},
}, {
title: 'Age',

Loading…
Cancel
Save