Trying to make cool Filter

Hey Nodar,

Regarding the errors, it seems that the signature of your event handlers is the cause.
Instead of iTitle_keyPress($w), use either the default iTitle_keyPress(event, $w) or a simple iTitle_keyPress()
Doing iTitle_keyPress($w) means you get an event object into your $w variable, and that triggers errors.

Regarding the multiple options, you can run some logic to make sure the array of options you create contains only unique values.
For example:

function unique(array) {
    return array.filter((value, index) => array.indexOf(value) === index);
}

const genders = res.items.map(users => users.gender);
const uniqueGenders = unique(genders);
const options = uniqueGenders.map(gender => {
	return {
		"value": gender,
		"label": gender
	};
})

Good Luck,
Itai