Skip to content Skip to sidebar Skip to footer

Can I Remove 'null' From My Drop Down Selection Variable

I have a multi select drop down allowing my user to select multiple A, B and/or C options, using react-select. Each time one is selected, I want it to be added to a 'choice' variab

Solution 1:

The solution to this was posted in the comments by Yury Tarabanko.

var filter = ''

For good practice console.log would also not be in that position within the code.

Post a Comment for "Can I Remove 'null' From My Drop Down Selection Variable"