pramod_Task-#399 : Added Access Permission For 'Directory User' Role #160
@ -60,7 +60,7 @@ useEffect(() => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleInputKeyDown = (e) => {
|
const handleInputKeyDown = (e) => {
|
||||||
if (e.key === "Enter" && input.trim() !== "") {
|
if ((e.key === "Enter" || e.key === " ")&& input.trim() !== "") {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const existing = options.find(
|
const existing = options.find(
|
||||||
(opt) => opt.name.toLowerCase() === input.trim().toLowerCase()
|
(opt) => opt.name.toLowerCase() === input.trim().toLowerCase()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user