You are not recognized as the original poster of this topic.
&& !jsonArray.includes(inputText)(put the clearing after the if-statement)… I'm on mobile which is why I use GPT, most mobile code editors suck ass and I don't wanna type with a touchscreen keyboard, the old Xed Editor is the only one that's usable (their new version requires you to create/save a file before editing, dumbest fucking idea, and I also don't wanna work with an entire directory (how do I even remove them?)).