Skip to content

Commit

Permalink
fix: remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
vip-git committed Oct 18, 2018
1 parent df2dad2 commit 361cdba
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/fields/components/lib/CreatableReactSelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ export default class CreatableInputOnly extends Component {
}

handleChange = (value, actionMeta) => {
console.group('Value Changed');
console.log(value);
console.log(`action: ${actionMeta.action}`);
console.groupEnd();
this.props.onChange(value);
this.setState({ value });
};
Expand All @@ -61,9 +57,6 @@ export default class CreatableInputOnly extends Component {
switch (event.key) {
case 'Enter':
case 'Tab':
console.group('Value Added');
console.log(value);
console.groupEnd();
const finalValue = [...value, createOption(inputValue)];
this.props.onChange(finalValue);
this.setState({
Expand Down

0 comments on commit 361cdba

Please sign in to comment.