Can someone help me with this?

Versión Godot

<v4.2.2>

Pregunta

Hi, I made this line of code: “input_field.connect(“text_submitted”, self, “_on_text_submitted”)” and it gives me these two errors
“Línea 9:Cannot pass a value of type “String” as “int”.
Línea 9:Invalid argument for “connect()” function: argument 3 should be “int” but is “String”.” I don’t know what I have to fix. I’m going crazy trying to fix it.

You’re using 3.x syntax, it’s input_field.text_submitted.connect(_on_text_submitted)

Why dupplicate topic?

I already answered it here: