Skip to content

Commit

Permalink
fixed error when click on Clear icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-o committed Feb 15, 2022
1 parent 4235156 commit f82941f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class React_Select_Field extends Component {
handleChange = ( e ) => {
const { id, onChange } = this.props;

onChange( id, e.value );
onChange( id, e?.value || '' );
}

/**
Expand Down

0 comments on commit f82941f

Please sign in to comment.