Changed router and password

I changed my wi fi router and left the router name the same but changed My password. I go into the network settings and try to put in the new password, it will not let me type in the box, it won’t let me type in the wi fi name. In the box below it shows the correct name of the Wi-Fi but won’t let me copy and paste it in the top box . I try to type it in and no space bar on the on board key board. I’m stumped at this point.

Would using a USB keyboard work?