How to constantly update set Text with the input from TextInputField using no button?

I am new to this.

The text is supposed to display updated info every time the user makes changes to the InputField.

The script I have so far:

public GameObject inputField; // get the input field
public TMPro.TextMeshProUGUI textDisplay; //text to display the text from the input field

// Update is called once per frame
void Update()
{
    textDisplay.SetText("Welcome" + GetComponent<InputField>().textComponent.text);
}

,I am new to this.

I have a TMPro text that I want to display the user’s name from the TextInputField. The text will update each time the user makes changes to it.

The script I have so far: