Can you pass a InputField's value on to the method you call selected in the 'on value change' event found in the inspector?

Is it possible to pass on an InputField’s value via the ‘On Value Change’ seen here?

public void ChangeBoardWidth(string value) {
    //Certain actions are performed

Or do I really need to write separated code for it? (and, if yes, then what’s even the point of this taking up space in the inspector?)

I’m going to answer my own question, though I think this solution is suboptimal:

You can pass through Object references via the event:

Therefore you can access the Text property of the InputField if you pass its Object reference:

public void PassOnValueChangeEvent(InputField sender) {