Greetings,
At the moment, I'm writing a script, which restricts which use can be selected as an Actor. My idea is to get all users from the specified group and delete the result which came when a users type something in the input field. Now, I have the problem that I am not able to get the keypress event (or change) from the select field. I wrote sth. like that.
let input = "#react-select-4-input";
$(input).change(function (e) {
e.preventDefault();
checkUser(userList1);
checkUser(userList2);
console.warn("changes found");
});
Has somebody any idea?