InputFields- 'on value changed' doesn't show me public method

I attached a script to the on - value - changed - box in the inspector for my InputField script, but its public method which takes a string and is void doesnt show up in the drop menu. Anything I’m missing here?

That’s because the delegate has no parameter. Things the string parameter and it will work. Check the value yourself within the callback.

https://docs.unity3d.com/ScriptReference/UI.InputField-onValueChanged.html