Form on mobile view does not submit

I have a form which contains multiple input fields to search through a database that I provide for my users, but my form won’t submit on mobile view to search through the database. Laptop view is possible, but mobile view is not. I’ve checked the console for a typeError that arose of, "cannot read properties of undefined (reading 'indexOf), but this error is found in a knack.js file. What exactly is this “knack.js” file? The JS file that I’ve been using to create the app does not have any errors.

I suspect that my code is somehow affecting this other file, but I’m not sure.